Skip to content

Commit

Permalink
PM-7186 Cancel the Extension when an exception occurs instead of gett…
Browse files Browse the repository at this point in the history
…ing stuck Loading.
  • Loading branch information
dinisvieira committed Mar 31, 2024
1 parent 4633fea commit 981d4c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/iOS.Autofill/LoginListViewController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ public async Task DoFido2GetAssertionAsync(IFido2GetAssertionUserInterface fido2
await _platformUtilsService.Value.ShowDialogAsync(
string.Format(AppResources.ThereWasAProblemReadingAPasskeyForXTryAgainLater, Context.PasskeyCredentialRequestParameters.RelyingPartyIdentifier),
AppResources.ErrorReadingPasskey);

Cancel();
}
}
catch (Exception ex)
Expand Down

0 comments on commit 981d4c9

Please sign in to comment.