mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-24 11:55:38 +01:00
Fix for Android builds (#3001)
* enable unit test flag * revert UT flag and modify flags in ThemeManager
This commit is contained in:
parent
118dcf164c
commit
fec0743e4d
@ -158,7 +158,7 @@ namespace Bit.App.Utilities
|
||||
{
|
||||
#if UT
|
||||
return false;
|
||||
#endif
|
||||
#else
|
||||
|
||||
#if ANDROID
|
||||
return Application.Current.RequestedTheme == AppTheme.Dark;
|
||||
@ -177,6 +177,8 @@ namespace Bit.App.Utilities
|
||||
_ => AppTheme.Unspecified
|
||||
};
|
||||
return requestedTheme == AppTheme.Dark;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user