         
         UIView.animate(withDuration: MKProgress.config.fadeInAnimationDuration, animations: {
             rootViewController.view.layer.opacity = 1.0
-        }, completion: { _ in
-            MKProgress.shared.shouldShowAfterDismissing = false
         })
     }
     

        
        if animated {
            MKProgress.shared.playFadeOutAnimation({ _ in
                if MKProgress.shared.shouldShowAfterDismissing {
                    MKProgress.shared.playFadeInAnimation()
                } else {
                    hideProgressHud()
                }
            })

     */
    public static func show(_ animated: Bool = true) {
        if shared.isDismissing {
            shared.isDismissing = false
            makeKeyWindowVisible(animated)
            return
        }

        guard shared.hudWindow == nil else { return }
        makeKeyWindowVisible(animated)
    }
    
    fileprivate static func makeKeyWindowVisible(_ animated: Bool) {
        shared.hudWindow = shared.getHUDWindow()
        shared.hudWindow?.makeKeyAndVisible()
        
