mirror of
https://github.com/bitwarden/mobile
synced 2025-12-16 00:03:22 +00:00
Added "first load" check on site list to wait for sync to complete if key changed. Renamed "other" constants.
This commit is contained in:
@@ -70,7 +70,7 @@ namespace Bit.iOS.Extension
|
||||
var result = await _fingerprint.AuthenticateAsync("Use your fingerprint to verify.");
|
||||
if(result.Authenticated)
|
||||
{
|
||||
_settings.AddOrUpdateValue(Constants.SettingLocked, false);
|
||||
_settings.AddOrUpdateValue(Constants.Locked, false);
|
||||
LoadingController.DismissLockAndContinue();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ namespace Bit.iOS.Extension
|
||||
var key = _cryptoService.MakeKeyFromPassword(MasterPasswordCell.TextField.Text, _authService.Email);
|
||||
if(key.SequenceEqual(_cryptoService.Key))
|
||||
{
|
||||
_settings.AddOrUpdateValue(Constants.SettingLocked, false);
|
||||
_settings.AddOrUpdateValue(Constants.Locked, false);
|
||||
MasterPasswordCell.TextField.ResignFirstResponder();
|
||||
LoadingController.DismissLockAndContinue();
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace Bit.iOS.Extension
|
||||
if(PinTextField.Text == _authService.PIN)
|
||||
{
|
||||
Debug.WriteLine("BW Log, Start Dismiss PIN controller.");
|
||||
_settings.AddOrUpdateValue(Constants.SettingLocked, false);
|
||||
_settings.AddOrUpdateValue(Constants.Locked, false);
|
||||
PinTextField.ResignFirstResponder();
|
||||
LoadingController.DismissLockAndContinue();
|
||||
}
|
||||
|
||||
@@ -174,7 +174,7 @@ namespace Bit.iOS.Extension
|
||||
return;
|
||||
}
|
||||
|
||||
Resolver.Resolve<ISettings>().AddOrUpdateValue(App.Constants.SettingLastBackgroundedDate, DateTime.UtcNow);
|
||||
Resolver.Resolve<ISettings>().AddOrUpdateValue(App.Constants.LastBackgroundedDate, DateTime.UtcNow);
|
||||
|
||||
var item = _tableItems.ElementAt(indexPath.Row);
|
||||
if(item == null)
|
||||
|
||||
Reference in New Issue
Block a user