mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-23 11:45:38 +01:00
fix ui thread issue
This commit is contained in:
parent
d17da80f19
commit
e0fda1a0bc
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user