From 45a042adf629d1c610486a7c0638bf8529f59b2c Mon Sep 17 00:00:00 2001 From: Tsanie Lily Date: Tue, 5 May 2020 12:29:17 +0800 Subject: [PATCH] fixed: status bar style issue. --- Pixiview/MainPage.xaml | 4 +++- Pixiview/UI/Theme/DarkTheme.cs | 4 +++- Pixiview/UI/Theme/LightTheme.cs | 10 ++++++---- Pixiview/UI/Theme/ThemeBase.cs | 1 + 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/Pixiview/MainPage.xaml b/Pixiview/MainPage.xaml index 58582d7..50cc0bf 100644 --- a/Pixiview/MainPage.xaml +++ b/Pixiview/MainPage.xaml @@ -4,10 +4,12 @@ xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:u="clr-namespace:Pixiview.UI" + xmlns:util="clr-namespace:Pixiview.Utils" mc:Ignorable="d" x:Class="Pixiview.MainPage" BackgroundColor="{DynamicResource WindowColor}" - OrientationChanged="Page_OrientationChanged"> + OrientationChanged="Page_OrientationChanged" + util:StatusBar.StatusBarStyle="{DynamicResource StatusBarStyle}">