1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-22 11:35:21 +01:00

[PM-4760] Admin Recovery Permissions prompted to set MP. (#2912)

* [PM-4760] Add force password reset check on sync complete.

* [PM-4760] Log error on exception
This commit is contained in:
André Bispo 2024-03-01 19:43:18 +00:00 committed by GitHub
parent 602627b5fa
commit bca5b95446
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,6 +96,14 @@ namespace Bit.App.Pages
if (message.Command == "syncCompleted")
{
MainThread.BeginInvokeOnMainThread(async () => await UpdateVaultButtonTitleAsync());
try
{
await ForcePasswordResetIfNeededAsync();
}
catch (Exception ex)
{
_logger.Value.Exception(ex);
}
}
});
await UpdateVaultButtonTitleAsync();