mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
move delay after
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user