mirror of
https://github.com/bitwarden/mobile
synced 2025-12-20 18:23:51 +00:00
Add a 250ms sleep before prompting for password (#1431)
This commit is contained in:
@@ -246,6 +246,8 @@ namespace Bit.iOS.Autofill
|
|||||||
}
|
}
|
||||||
else if (!await storageService.GetAsync<bool>(Bit.Core.Constants.PasswordVerifiedAutofillKey))
|
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");
|
var passwordRepromptService = ServiceContainer.Resolve<IPasswordRepromptService>("passwordRepromptService");
|
||||||
if (!await passwordRepromptService.ShowPasswordPromptAsync())
|
if (!await passwordRepromptService.ShowPasswordPromptAsync())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user