1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-05 23:53:33 +00:00

move delay after

This commit is contained in:
Kyle Spearrin
2017-08-30 22:21:56 -04:00
parent 7655c251a2
commit f59cce15c0
2 changed files with 4 additions and 2 deletions

View File

@@ -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);
}
});
}

View File

@@ -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);
}
});
}