We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2afb6d5 commit d0b98a7Copy full SHA for d0b98a7
BTProgressHUD/ProgressHUD.cs
@@ -102,7 +102,7 @@ public ProgressHUD(UIWindow window) : base(window.Bounds)
102
AutoresizingMask = UIViewAutoresizing.FlexibleWidth | UIViewAutoresizing.FlexibleHeight;
103
}
104
105
- public UIWindow HudWindow { get; private set; }
+ public UIWindow? HudWindow { get; private set; }
106
107
public static CGRect KeyboardSize { get; private set; } = CGRect.Empty;
108
@@ -774,6 +774,7 @@ private void RemoveHud()
774
try
775
{
776
HudWindow?.RootViewController?.SetNeedsStatusBarAppearanceUpdate();
777
+ HudWindow = null!;
778
779
catch (ObjectDisposedException)
780
0 commit comments