From fec0743e4d0d75ee39d1f20b8e6c61464d4c8f19 Mon Sep 17 00:00:00 2001 From: mpbw2 <59324545+mpbw2@users.noreply.github.com> Date: Mon, 12 Feb 2024 12:45:52 -0500 Subject: [PATCH] Fix for Android builds (#3001) * enable unit test flag * revert UT flag and modify flags in ThemeManager --- src/Core/Utilities/ThemeManager.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Core/Utilities/ThemeManager.cs b/src/Core/Utilities/ThemeManager.cs index 47475c3c4..6ff895eb9 100644 --- a/src/Core/Utilities/ThemeManager.cs +++ b/src/Core/Utilities/ThemeManager.cs @@ -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 }