Well, I'm depressing so no message. Just accept your faith
This commit is contained in:
@@ -126,20 +126,20 @@ namespace FoxTube.Pages.SettingsPages
|
||||
if (sender == light && SettingsStorage.Theme != 0)
|
||||
{
|
||||
SettingsStorage.Theme = 0;
|
||||
Application.Current.RequestedTheme = ApplicationTheme.Light;
|
||||
Methods.MainPage.RequestedTheme = ElementTheme.Light;
|
||||
}
|
||||
else if (sender == dark && SettingsStorage.Theme != 1)
|
||||
{
|
||||
SettingsStorage.Theme = 1;
|
||||
Application.Current.RequestedTheme = ApplicationTheme.Dark;
|
||||
Methods.MainPage.RequestedTheme = ElementTheme.Dark;
|
||||
}
|
||||
else if (sender == system && SettingsStorage.Theme != 2)
|
||||
{
|
||||
SettingsStorage.Theme = 2;
|
||||
if (new Windows.UI.ViewManagement.UISettings().GetColorValue(Windows.UI.ViewManagement.UIColorType.Background) == Colors.Black)
|
||||
Application.Current.RequestedTheme = ApplicationTheme.Dark;
|
||||
Methods.MainPage.RequestedTheme = ElementTheme.Dark;
|
||||
else
|
||||
Application.Current.RequestedTheme = ApplicationTheme.Light;
|
||||
Methods.MainPage.RequestedTheme = ElementTheme.Light;
|
||||
}
|
||||
Methods.MainPage.SetTitleBar();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user