1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-05 23:53:33 +00: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

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();