Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
[iOS] Fix Page BackgroundColor issue using DarkTheme (#12409)
Browse files Browse the repository at this point in the history
* Fix Page BackgroundColor issue using DarkTheme

* Changed the fix
  • Loading branch information
jsuarezruiz authored Feb 4, 2021
1 parent a481965 commit 25b2aa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Xamarin.Forms.Platform.iOS/Renderers/PageRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ void UpdateBackground()
Color backgroundColor = Element.BackgroundColor;
if (backgroundColor.IsDefault)
NativeView.BackgroundColor = UIColor.White;
NativeView.BackgroundColor = ColorExtensions.BackgroundColor;
else
NativeView.BackgroundColor = backgroundColor.ToUIColor();
}
Expand Down

0 comments on commit 25b2aa4

Please sign in to comment.