mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
Fix for Android builds (#3001)
* enable unit test flag * revert UT flag and modify flags in ThemeManager
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user