1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-05 23:53:33 +00:00

Add a 250ms sleep before prompting for password (#1431)

This commit is contained in:
Oscar Hinton
2021-06-15 20:29:11 +02:00
committed by GitHub
parent 79589b07fc
commit 2a5667251e

View File

@@ -246,6 +246,8 @@ namespace Bit.iOS.Autofill
}
else if (!await storageService.GetAsync<bool>(Bit.Core.Constants.PasswordVerifiedAutofillKey))
{
// Add a timeout to resolve keyboard not always showing up.
await Task.Delay(250);
var passwordRepromptService = ServiceContainer.Resolve<IPasswordRepromptService>("passwordRepromptService");
if (!await passwordRepromptService.ShowPasswordPromptAsync())
{