1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-13 23:03:23 +00:00

theme splash for extensions

This commit is contained in:
Kyle Spearrin
2019-06-28 12:30:48 -04:00
parent 9145fa1c48
commit fbd62153ee
7 changed files with 56 additions and 13 deletions

View File

@@ -30,7 +30,8 @@ namespace Bit.iOS.Extension
{
InitApp();
base.ViewDidLoad();
View.BackgroundColor = new UIColor(red: 0.94f, green: 0.94f, blue: 0.96f, alpha: 1.0f);
Logo.Image = new UIImage(ThemeHelpers.LightTheme ? "logo.png" : "logo_white.png");
View.BackgroundColor = ThemeHelpers.SplashBackgroundColor;
_context.ExtContext = ExtensionContext;
foreach(var item in ExtensionContext.InputItems)
{
@@ -385,6 +386,7 @@ namespace Bit.iOS.Extension
ServiceContainer.Init();
iOSCoreHelpers.RegisterHockeyApp();
iOSCoreHelpers.Bootstrap();
iOSCoreHelpers.AppearanceAdjustments();
}
private bool IsLocked()