diff --git a/src/App/App.xaml.cs b/src/App/App.xaml.cs index f1bb631a8..0484d7bae 100644 --- a/src/App/App.xaml.cs +++ b/src/App/App.xaml.cs @@ -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()); }