mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
Update ThemeManager.cs to fix build failing
This commit is contained in:
committed by
GitHub
parent
118dcf164c
commit
7a437a0649
@@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Bit.App.Models;
|
using Bit.App.Models;
|
||||||
@@ -158,9 +158,7 @@ namespace Bit.App.Utilities
|
|||||||
{
|
{
|
||||||
#if UT
|
#if UT
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#elif ANDROID
|
||||||
|
|
||||||
#if ANDROID
|
|
||||||
return Application.Current.RequestedTheme == AppTheme.Dark;
|
return Application.Current.RequestedTheme == AppTheme.Dark;
|
||||||
#else
|
#else
|
||||||
var requestedTheme = AppTheme.Unspecified;
|
var requestedTheme = AppTheme.Unspecified;
|
||||||
|
|||||||
Reference in New Issue
Block a user