Browse Source

[PM-7960] Revert change from passkey provider pr (#3196)

* [PM-7690] Move UI thread invocation to viewmodel command
github-services/pull/3200/head
André Bispo 2 years ago committed by GitHub
parent
commit
8b65d99442
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      src/Core/Pages/Accounts/LockPageViewModel.cs

5
src/Core/Pages/Accounts/LockPageViewModel.cs

@ -74,7 +74,10 @@ namespace Bit.App.Pages @@ -74,7 +74,10 @@ namespace Bit.App.Pages
PageTitle = AppResources.VerifyMasterPassword;
TogglePasswordCommand = new Command(TogglePassword);
SubmitCommand = CreateDefaultAsyncRelayCommand(SubmitAsync, onException: _logger.Exception, allowsMultipleExecutions: false);
SubmitCommand = CreateDefaultAsyncRelayCommand(
() => MainThread.InvokeOnMainThreadAsync(SubmitAsync),
onException: _logger.Exception,
allowsMultipleExecutions: false);
AccountSwitchingOverlayViewModel =
new AccountSwitchingOverlayViewModel(_stateService, _messagingService, _logger)

Loading…
Cancel
Save