1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-06-28 10:54:59 +02: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());
}