1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-17 00:33:20 +00:00

Fixed locked setting bug. Added no site list message to extension.

This commit is contained in:
Kyle Spearrin
2016-07-21 23:41:50 -04:00
parent ac0a4c3756
commit c206d228fc
8 changed files with 40 additions and 8 deletions

View File

@@ -11,6 +11,7 @@ using System.Threading.Tasks;
using Bit.iOS.Core.Utilities;
using Bit.App.Abstractions;
using System.Linq;
using Bit.App;
namespace Bit.iOS.Extension
{
@@ -85,6 +86,7 @@ namespace Bit.iOS.Extension
var key = _cryptoService.MakeKeyFromPassword(MasterPasswordCell.TextField.Text, _authService.Email);
if(key.SequenceEqual(_cryptoService.Key))
{
_settings.AddOrUpdateValue(Constants.SettingLocked, false);
MasterPasswordCell.TextField.ResignFirstResponder();
LoadingViewController.DismissLockAndContinue();
}