diff --git a/src/App/Utilities/ThemeManager.cs b/src/App/Utilities/ThemeManager.cs index 3b68abb7f..c36c1fca8 100644 --- a/src/App/Utilities/ThemeManager.cs +++ b/src/App/Utilities/ThemeManager.cs @@ -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)); } } } diff --git a/src/iOS/AppDelegate.cs b/src/iOS/AppDelegate.cs index 2d7fc4a11..46a2ad150 100644 --- a/src/iOS/AppDelegate.cs +++ b/src/iOS/AppDelegate.cs @@ -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") {