1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-20 10:13:42 +00:00

lock screen drawing & 2FA entry bugfixes (#910)

* lock screen drawing & 2FA entry bugfixes

* cleanup whitespace
This commit is contained in:
Matt Portune
2020-05-20 09:09:28 -04:00
committed by GitHub
parent 4c65daa995
commit 4576f378cc
2 changed files with 10 additions and 17 deletions

View File

@@ -82,19 +82,19 @@ namespace Bit.App.Pages
}
});
if (!_inited)
await LoadOnAppearedAsync(_scrollView, true, () =>
{
_inited = true;
await LoadOnAppearedAsync(_scrollView, true, () =>
if (!_inited)
{
_inited = true;
_vm.Init();
if (_vm.TotpMethod)
{
RequestFocus(_totpEntry);
}
return Task.FromResult(0);
});
}
}
if (_vm.TotpMethod)
{
RequestFocus(_totpEntry);
}
return Task.FromResult(0);
});
}
protected override void OnDisappearing()