make sure biometric prompt does not show up directly after authentication (into 1.08-pre3)
This commit is contained in:
@@ -1503,6 +1503,9 @@ namespace keepass2android
|
||||
base.OnPause();
|
||||
}
|
||||
|
||||
private bool fingerprintInitialized;
|
||||
|
||||
|
||||
protected override void OnStart()
|
||||
{
|
||||
base.OnStart();
|
||||
@@ -1517,6 +1520,11 @@ namespace keepass2android
|
||||
DonateReminder.ShowDonateReminderIfAppropriate(this);
|
||||
|
||||
|
||||
if (compositeKeyForImmediateLoad == null && !fingerprintInitialized)
|
||||
{
|
||||
fingerprintInitialized = InitFingerprintUnlock();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private MemoryStream PreloadDbFile()
|
||||
@@ -1747,7 +1755,7 @@ namespace keepass2android
|
||||
bool showKeyboard = (Util.GetShowKeyboardDuringFingerprintUnlock(this));
|
||||
|
||||
|
||||
if (!InitFingerprintUnlock())
|
||||
if (!fingerprintInitialized)
|
||||
showKeyboard = true;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user