mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-26 12:16:07 +01:00
set theme properly on app launch for ios
This commit is contained in:
parent
3ec5d894b3
commit
1af0178b50
@ -56,7 +56,8 @@ namespace Bit.App.Utilities
|
||||
public static string GetTheme()
|
||||
{
|
||||
return Xamarin.Essentials.Preferences.Get(
|
||||
string.Format(PreferencesStorageService.KeyFormat, Constants.ThemeKey), default(string));
|
||||
string.Format(PreferencesStorageService.KeyFormat, Constants.ThemeKey), default(string),
|
||||
Device.RuntimePlatform == Device.iOS ? "group.com.8bit.bitwarden" : default(string));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,6 +5,7 @@ using System.Threading.Tasks;
|
||||
using Bit.App.Abstractions;
|
||||
using Bit.App.Resources;
|
||||
using Bit.App.Services;
|
||||
using Bit.App.Utilities;
|
||||
using Bit.Core;
|
||||
using Bit.Core.Abstractions;
|
||||
using Bit.Core.Services;
|
||||
@ -61,7 +62,7 @@ namespace Bit.iOS
|
||||
}
|
||||
else if(message.Command == "updatedTheme")
|
||||
{
|
||||
|
||||
// ThemeManager.SetThemeStyle(message.Data as string);
|
||||
}
|
||||
else if(message.Command == "copiedToClipboard")
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user