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

[iOS] Fix Page BackgroundColor issue using DarkTheme #12409

Merged
merged 2 commits into from
Feb 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -518,7 +518,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