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() private async Task DoContinueAsync()
{ {
_lockService.PinLocked = false;
_lockService.FingerprintLocked = false;
var disableFavicon = await _storageService.GetAsync<bool?>(Constants.DisableFaviconKey); var disableFavicon = await _storageService.GetAsync<bool?>(Constants.DisableFaviconKey);
await _stateService.SaveAsync(Constants.DisableFaviconKey, disableFavicon.GetValueOrDefault()); await _stateService.SaveAsync(Constants.DisableFaviconKey, disableFavicon.GetValueOrDefault());
_messagingService.Send("unlocked"); _messagingService.Send("unlocked");

View file

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