redth-org / BTProgressHUD

Port to Xamarin.iOS of the SVProgressHUD
Other
118 stars 64 forks source link

Fix null Window in `For` and `ForDefaultWindow` #104

Closed Cheesebaron closed 1 year ago

Cheesebaron commented 1 year ago

:sparkles: What kind of change does this PR introduce? (Bug fix, feature, docs update...)

Bugfix

:arrow_heading_down: What is the current behavior?

There is a Null Ref in ForDefaultWindow which can lead to crashes

:new: What is the new behavior (if this is a feature change)?

Forgiving the null and not doing anything when Window is null

:boom: Does this PR introduce a breaking change?

:bug: Recommendations for testing

:memo: Links to relevant issues/docs

Fixes #103

:thinking: Checklist before submitting