From e0fda1a0bc759866c16c2389d1d8df8a72e19e84 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 1 Jul 2019 21:15:53 -0400 Subject: [PATCH] fix ui thread issue --- src/App/Pages/Accounts/LockPage.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App/Pages/Accounts/LockPage.xaml.cs b/src/App/Pages/Accounts/LockPage.xaml.cs index 36d5c00d2..c35eaef56 100644 --- a/src/App/Pages/Accounts/LockPage.xaml.cs +++ b/src/App/Pages/Accounts/LockPage.xaml.cs @@ -21,7 +21,7 @@ namespace Bit.App.Pages InitializeComponent(); _vm = BindingContext as LockPageViewModel; _vm.Page = this; - _vm.UnlockedAction = () => + _vm.UnlockedAction = () => Device.BeginInvokeOnMainThread(() => { if(_appOptions != null) { @@ -37,7 +37,7 @@ namespace Bit.App.Pages } } Application.Current.MainPage = new TabsPage(_appOptions); - }; + }); MasterPasswordEntry = _masterPassword; PinEntry = _pin; }