     public static func hide(_ animated: Bool = true) {
         
         func hideProgressHud() {
-            MKProgress.shared.shouldShowAfterDismissing = false
             MKProgress.shared.isDismissing = false
             
             MKProgress.shared.stopAnimatoins()

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

     */
    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()
        
