mirror of
https://github.com/bitwarden/mobile
synced 2025-12-24 04:04:34 +00:00
only prompt fingerprint if set
This commit is contained in:
@@ -47,11 +47,14 @@ namespace Bit.App.Pages
|
||||
|
||||
public async Task PromptFingerprintAfterResumeAsync()
|
||||
{
|
||||
await Task.Delay(500);
|
||||
if(!_promptedAfterResume)
|
||||
if(_vm.FingerprintLock)
|
||||
{
|
||||
_promptedAfterResume = true;
|
||||
await _vm?.PromptFingerprintAsync();
|
||||
await Task.Delay(500);
|
||||
if(!_promptedAfterResume)
|
||||
{
|
||||
_promptedAfterResume = true;
|
||||
await _vm?.PromptFingerprintAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user