1
0
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:
Federico Maccaroni
2024-03-14 18:07:52 -03:00
committed by GitHub
parent 144fc7c727
commit 74085689d3
10 changed files with 64 additions and 17 deletions

View File

@@ -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);
}