1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-09-27 03:52:57 +02:00

PM-7186 Remove error message when showing password list as a fallback with user interaction (#3133)

This commit is contained in:
Dinis Vieira 2024-04-03 21:33:38 +01:00 committed by GitHub
parent ceca142c65
commit 8644fe598e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -215,10 +215,12 @@ namespace Bit.iOS.Autofill
{
if (Context?.IsExecutingWithoutUserInteraction == false)
{
_ = _platformUtilsService.Value.ShowDialogAsync(
string.Format(AppResources.ThereWasAProblemReadingAPasskeyForXTryAgainLater, Context.PasskeyCredentialRequestParameters.RelyingPartyIdentifier),
AppResources.ErrorReadingPasskey);
// Ideally we should inform the user an error has occurred but for the specific scenario where we have user interaction and we can fallback to password list we'll try to do that.
//_ = _platformUtilsService.Value.ShowDialogAsync(
// string.Format(AppResources.ThereWasAProblemReadingAPasskeyForXTryAgainLater, Context.PasskeyCredentialRequestParameters.RelyingPartyIdentifier),
// AppResources.ErrorReadingPasskey);
//Reset TableView formatting to Password and reload passwords
TableView.SectionHeaderHeight = 0;
Context.IsPasswordFallback = true;
await ReloadItemsAsync();