From c77d4b795afffbaf0d046db75d461a900fa1c4d6 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 17 May 2019 11:02:50 -0400 Subject: [PATCH] is locked inside if --- src/App/App.xaml.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()); }