mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
move delay after
This commit is contained in:
parent
7655c251a2
commit
f59cce15c0
2 changed files with 4 additions and 2 deletions
|
@ -108,7 +108,6 @@ namespace Bit.App.Pages
|
|||
{
|
||||
for(int i = 0; i < 5; i++)
|
||||
{
|
||||
await Task.Delay(1000);
|
||||
if(!PasswordCell.Entry.IsFocused)
|
||||
{
|
||||
Device.BeginInvokeOnMainThread(() => PasswordCell.Entry.FocusWithDelay());
|
||||
|
@ -117,6 +116,8 @@ namespace Bit.App.Pages
|
|||
{
|
||||
break;
|
||||
}
|
||||
|
||||
await Task.Delay(1000);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -87,7 +87,6 @@ namespace Bit.App.Pages
|
|||
{
|
||||
for(int i = 0; i < 5; i++)
|
||||
{
|
||||
await Task.Delay(1000);
|
||||
if(!PinControl.Entry.IsFocused)
|
||||
{
|
||||
Device.BeginInvokeOnMainThread(() => PinControl.Entry.Focus());
|
||||
|
@ -96,6 +95,8 @@ namespace Bit.App.Pages
|
|||
{
|
||||
break;
|
||||
}
|
||||
|
||||
await Task.Delay(1000);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue