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:
parent
c96daf2d68
commit
c77d4b795a
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user