1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-17 00:33:20 +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

@@ -24,6 +24,7 @@ namespace Bit.iOS.Extension
{ }
public Context Context { get; set; }
public LoadingViewController LoadingViewController { get; set; }
public FormEntryTableViewCell MasterPasswordCell { get; set; } = new FormEntryTableViewCell(
AppResources.MasterPassword, useLabelAsPlaceholder: true);
@@ -85,7 +86,7 @@ namespace Bit.iOS.Extension
if(key.SequenceEqual(_cryptoService.Key))
{
MasterPasswordCell.TextField.ResignFirstResponder();
DismissModalViewController(true);
LoadingViewController.DismissLockAndContinue();
}
else
{