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

View file

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