mirror of
https://github.com/bitwarden/mobile
synced 2026-01-07 19:13:19 +00:00
theme splash for extensions
This commit is contained in:
@@ -23,6 +23,8 @@ namespace Bit.iOS.Autofill
|
||||
{
|
||||
InitApp();
|
||||
base.ViewDidLoad();
|
||||
Logo.Image = new UIImage(ThemeHelpers.LightTheme ? "logo.png" : "logo_white.png");
|
||||
View.BackgroundColor = ThemeHelpers.SplashBackgroundColor;
|
||||
_context = new Context
|
||||
{
|
||||
ExtContext = ExtensionContext
|
||||
@@ -249,6 +251,7 @@ namespace Bit.iOS.Autofill
|
||||
ServiceContainer.Init();
|
||||
iOSCoreHelpers.RegisterHockeyApp();
|
||||
iOSCoreHelpers.Bootstrap();
|
||||
iOSCoreHelpers.AppearanceAdjustments();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -14,8 +14,16 @@ namespace Bit.iOS.Autofill
|
||||
[Register ("CredentialProviderViewController")]
|
||||
partial class CredentialProviderViewController
|
||||
{
|
||||
[Outlet]
|
||||
[GeneratedCode ("iOS Designer", "1.0")]
|
||||
UIKit.UIImageView Logo { get; set; }
|
||||
|
||||
void ReleaseDesignerOutlets ()
|
||||
{
|
||||
if (Logo != null) {
|
||||
Logo.Dispose ();
|
||||
Logo = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -32,6 +32,7 @@
|
||||
<segue destination="6855" kind="presentation" identifier="lockPasswordSegue" id="9874"/>
|
||||
<segue destination="10580" kind="presentation" identifier="setupSegue" modalTransitionStyle="coverVertical" id="11089"/>
|
||||
<segue destination="11552" kind="show" identifier="loginSearchSegue" id="12959"/>
|
||||
<outlet property="Logo" destination="1713" id="name-outlet-1713"/>
|
||||
</connections>
|
||||
</viewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="45" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
|
||||
Reference in New Issue
Block a user