mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +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++)
|
for(int i = 0; i < 5; i++)
|
||||||
{
|
{
|
||||||
await Task.Delay(1000);
|
|
||||||
if(!PasswordCell.Entry.IsFocused)
|
if(!PasswordCell.Entry.IsFocused)
|
||||||
{
|
{
|
||||||
Device.BeginInvokeOnMainThread(() => PasswordCell.Entry.FocusWithDelay());
|
Device.BeginInvokeOnMainThread(() => PasswordCell.Entry.FocusWithDelay());
|
||||||
|
@ -117,6 +116,8 @@ namespace Bit.App.Pages
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await Task.Delay(1000);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -87,7 +87,6 @@ namespace Bit.App.Pages
|
||||||
{
|
{
|
||||||
for(int i = 0; i < 5; i++)
|
for(int i = 0; i < 5; i++)
|
||||||
{
|
{
|
||||||
await Task.Delay(1000);
|
|
||||||
if(!PinControl.Entry.IsFocused)
|
if(!PinControl.Entry.IsFocused)
|
||||||
{
|
{
|
||||||
Device.BeginInvokeOnMainThread(() => PinControl.Entry.Focus());
|
Device.BeginInvokeOnMainThread(() => PinControl.Entry.Focus());
|
||||||
|
@ -96,6 +95,8 @@ namespace Bit.App.Pages
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await Task.Delay(1000);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue