mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
fix ui thread issue
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Bit.App.Pages
|
|||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
_vm = BindingContext as LockPageViewModel;
|
_vm = BindingContext as LockPageViewModel;
|
||||||
_vm.Page = this;
|
_vm.Page = this;
|
||||||
_vm.UnlockedAction = () =>
|
_vm.UnlockedAction = () => Device.BeginInvokeOnMainThread(() =>
|
||||||
{
|
{
|
||||||
if(_appOptions != null)
|
if(_appOptions != null)
|
||||||
{
|
{
|
||||||
@@ -37,7 +37,7 @@ namespace Bit.App.Pages
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Application.Current.MainPage = new TabsPage(_appOptions);
|
Application.Current.MainPage = new TabsPage(_appOptions);
|
||||||
};
|
});
|
||||||
MasterPasswordEntry = _masterPassword;
|
MasterPasswordEntry = _masterPassword;
|
||||||
PinEntry = _pin;
|
PinEntry = _pin;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user