1
0
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:
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

View File

@ -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
}