mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 18:38:27 +03:00
Add a 250ms sleep before prompting for password (#1431)
This commit is contained in:
parent
79589b07fc
commit
2a5667251e
1 changed files with 2 additions and 0 deletions
|
@ -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())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue