lock not required during app ext setup

This commit is contained in:
Kyle Spearrin 2017-12-27 23:50:35 -05:00
parent e4f3671ae0
commit 253ed75800
1 changed files with 6 additions and 0 deletions

View File

@ -98,6 +98,12 @@ namespace Bit.iOS.Extension
return;
}
if(_context.ProviderType == Constants.UTTypeAppExtensionSetup)
{
PerformSegue("setupSegue", this);
return;
}
var lockService = Resolver.Resolve<ILockService>();
var lockType = lockService.GetLockTypeAsync(false).GetAwaiter().GetResult();
switch(lockType)