mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
fix unlock logic
This commit is contained in:
parent
0f451fd4b9
commit
ce751cfc87
2 changed files with 5 additions and 1 deletions
|
@ -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");
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue