1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-14 07:13:33 +00:00

Moved lock logic to loading view controller.

This commit is contained in:
Kyle Spearrin
2016-07-21 19:02:04 -04:00
parent 047f5b100f
commit 7f5d371bf3
6 changed files with 74 additions and 55 deletions

View File

@@ -20,6 +20,7 @@ namespace Bit.iOS.Extension
{ }
public Context Context { get; set; }
public LoadingViewController LoadingViewController { get; set; }
public override void ViewWillAppear(bool animated)
{
@@ -58,7 +59,7 @@ namespace Bit.iOS.Extension
if(PinTextField.Text == _authService.PIN)
{
PinTextField.ResignFirstResponder();
DismissModalViewController(true);
LoadingViewController.DismissLockAndContinue();
}
else
{