From d80735028cfa50abd1634df22d2de566844bc43e Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 4 Aug 2016 08:31:42 -0400 Subject: [PATCH] Resolve IOC first in extension --- src/iOS.Extension/LoadingViewController.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/iOS.Extension/LoadingViewController.cs b/src/iOS.Extension/LoadingViewController.cs index f12c45cf9..6452e019d 100644 --- a/src/iOS.Extension/LoadingViewController.cs +++ b/src/iOS.Extension/LoadingViewController.cs @@ -36,16 +36,16 @@ namespace Bit.iOS.Extension public override void ViewDidLoad() { - base.ViewDidLoad(); - _googleAnalyticsService = Resolver.Resolve(); - View.BackgroundColor = new UIColor(red: 0.94f, green: 0.94f, blue: 0.96f, alpha: 1.0f); - _context.ExtContext = ExtensionContext; - if(!Resolver.IsSet) { 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(); + if(!_setupHockeyApp) { var appIdService = Resolver.Resolve();