mirror of
https://github.com/bitwarden/mobile
synced 2025-12-17 16:53:26 +00:00
PM-6685 Fix race condition issue where the biometrics check is being done before the iOS extension is being shown. So when we need the UI, we wait until ViewDidAppear happens. (#3078)
This commit is contained in:
committed by
GitHub
parent
144fc7c727
commit
74085689d3
@@ -39,7 +39,11 @@ namespace Bit.Core.Services.UserVerification
|
||||
{
|
||||
if (await ShouldPerformMasterPasswordRepromptAsync(options))
|
||||
{
|
||||
options.OnNeedUI?.Invoke();
|
||||
if (options.OnNeedUITask != null)
|
||||
{
|
||||
await options.OnNeedUITask();
|
||||
}
|
||||
|
||||
return await _passwordRepromptService.PromptAndCheckPasswordIfNeededAsync(Enums.CipherRepromptType.Password);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user