mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
set theme properly on app launch for ios
This commit is contained in:
parent
3ec5d894b3
commit
1af0178b50
2 changed files with 4 additions and 2 deletions
|
@ -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 a new issue