1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-12-18 15:37:42 +01:00

is locked inside if

This commit is contained in:
Kyle Spearrin 2019-05-17 11:02:50 -04:00
parent c96daf2d68
commit c77d4b795a

View File

@ -164,8 +164,7 @@ namespace Bit.App
var authed = await _userService.IsAuthenticatedAsync();
if(authed)
{
var locked = await _lockService.IsLockedAsync();
if(locked)
if(await _lockService.IsLockedAsync())
{
Current.MainPage = new NavigationPage(new LockPage());
}