fix unlock logic

This commit is contained in:
Kyle Spearrin 2019-08-12 08:05:45 -04:00
parent 0f451fd4b9
commit ce751cfc87
2 changed files with 5 additions and 1 deletions

View File

@ -287,6 +287,8 @@ namespace Bit.App.Pages
private async Task DoContinueAsync()
{
_lockService.PinLocked = false;
_lockService.FingerprintLocked = false;
var disableFavicon = await _storageService.GetAsync<bool?>(Constants.DisableFaviconKey);
await _stateService.SaveAsync(Constants.DisableFaviconKey, disableFavicon.GetValueOrDefault());
_messagingService.Send("unlocked");

View File

@ -1,4 +1,4 @@
using System;
using System;
using UIKit;
using Foundation;
using Bit.iOS.Core.Views;
@ -194,6 +194,8 @@ namespace Bit.iOS.Core.Controllers
private void DoContinue()
{
_lockService.PinLocked = false;
_lockService.FingerprintLocked = false;
MasterPasswordCell.TextField.ResignFirstResponder();
Success();
}