mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
set theme properly on app launch for ios
This commit is contained in:
@@ -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")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user