mirror of
https://github.com/bitwarden/mobile
synced 2025-12-15 15:53:44 +00:00
Resolve IOC first in extension
This commit is contained in:
@@ -36,16 +36,16 @@ namespace Bit.iOS.Extension
|
|||||||
|
|
||||||
public override void ViewDidLoad()
|
public override void ViewDidLoad()
|
||||||
{
|
{
|
||||||
base.ViewDidLoad();
|
|
||||||
_googleAnalyticsService = Resolver.Resolve<IGoogleAnalyticsService>();
|
|
||||||
View.BackgroundColor = new UIColor(red: 0.94f, green: 0.94f, blue: 0.96f, alpha: 1.0f);
|
|
||||||
_context.ExtContext = ExtensionContext;
|
|
||||||
|
|
||||||
if(!Resolver.IsSet)
|
if(!Resolver.IsSet)
|
||||||
{
|
{
|
||||||
SetIoc();
|
SetIoc();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
base.ViewDidLoad();
|
||||||
|
View.BackgroundColor = new UIColor(red: 0.94f, green: 0.94f, blue: 0.96f, alpha: 1.0f);
|
||||||
|
_context.ExtContext = ExtensionContext;
|
||||||
|
_googleAnalyticsService = Resolver.Resolve<IGoogleAnalyticsService>();
|
||||||
|
|
||||||
if(!_setupHockeyApp)
|
if(!_setupHockeyApp)
|
||||||
{
|
{
|
||||||
var appIdService = Resolver.Resolve<IAppIdService>();
|
var appIdService = Resolver.Resolve<IAppIdService>();
|
||||||
|
|||||||
Reference in New Issue
Block a user