1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-05 23:53:33 +00:00

[BEEEP] [PS-940] Support for dark theme selection while using Default (System) theme (#1959)

* support for dark theme selection while using Default (System) theme

* refinements
This commit is contained in:
mp-bw
2022-06-21 14:59:30 -04:00
committed by GitHub
parent c892e9fa57
commit 109aeb49e4
11 changed files with 3710 additions and 5592 deletions

View File

@@ -59,10 +59,10 @@ namespace Bit.Droid.Utilities
{
if (string.IsNullOrWhiteSpace(theme) && osDarkModeEnabled)
{
theme = "dark";
theme = ThemeManager.Dark;
}
if (theme == "dark" || theme == "black" || theme == "nord")
if (theme == ThemeManager.Dark || theme == ThemeManager.Black || theme == ThemeManager.Nord)
{
LightTheme = false;
}