Fix for Android builds (#3001)

* enable unit test flag

* revert UT flag and modify flags in ThemeManager
This commit is contained in:
mpbw2 2024-02-12 12:45:52 -05:00 committed by GitHub
parent 118dcf164c
commit fec0743e4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -158,7 +158,7 @@ namespace Bit.App.Utilities
{ {
#if UT #if UT
return false; return false;
#endif #else
#if ANDROID #if ANDROID
return Application.Current.RequestedTheme == AppTheme.Dark; return Application.Current.RequestedTheme == AppTheme.Dark;
@ -177,6 +177,8 @@ namespace Bit.App.Utilities
_ => AppTheme.Unspecified _ => AppTheme.Unspecified
}; };
return requestedTheme == AppTheme.Dark; return requestedTheme == AppTheme.Dark;
#endif
#endif #endif
} }