1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-25 12:05:59 +01:00

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

* [PM-7690] Move UI thread invocation to viewmodel command
This commit is contained in:
André Bispo 2024-04-29 14:53:07 +01:00 committed by GitHub
parent f80ec1b221
commit 8b65d99442
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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