redth-org / BTProgressHUD

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

Fix issue when using Clear HudBackgroundColor #110

Closed Cheesebaron closed 4 months ago

Cheesebaron commented 4 months ago

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

Bug fix

:arrow_heading_down: What is the current behavior?

When using UIColor.Clear as background color, since the background of the view is a UIToolbar internally, it becomes black. Probably because it is trying to apply blur effects which it cannot when using a fully transparent color.

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

When color is Clear I swap to a regular UIView instead.

:boom: Does this PR introduce a breaking change?

Not unless you are relying on Clear color to make the View black

:bug: Recommendations for testing

:memo: Links to relevant issues/docs

Fixes #109

:thinking: Checklist before submitting