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

Commit 25b2aa4

Browse files
authored
[iOS] Fix Page BackgroundColor issue using DarkTheme (#12409)
* Fix Page BackgroundColor issue using DarkTheme * Changed the fix
1 parent a481965 commit 25b2aa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Xamarin.Forms.Platform.iOS/Renderers/PageRenderer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ void UpdateBackground()
534534
Color backgroundColor = Element.BackgroundColor;
535535

536536
if (backgroundColor.IsDefault)
537-
NativeView.BackgroundColor = UIColor.White;
537+
NativeView.BackgroundColor = ColorExtensions.BackgroundColor;
538538
else
539539
NativeView.BackgroundColor = backgroundColor.ToUIColor();
540540
}

0 commit comments

Comments
 (0)