Skip to content

Commit

Permalink
Changed some messages to use AppResources
Browse files Browse the repository at this point in the history
  • Loading branch information
dinisvieira committed Mar 28, 2024
1 parent 1b0e5a1 commit 3441f14
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ private async Task GetCipherAndPerformFido2AuthAsync(string cipherId)
{
await MainThread.InvokeOnMainThreadAsync(async() =>
{
await _deviceActionService.Value.DisplayAlertAsync("Error reading passkey", $"There was a problem reading your passkey for {RpId}. Try again later.", AppResources.Ok); //TODO: i18n
await _deviceActionService.Value.DisplayAlertAsync(AppResources.ErrorReadingPasskey, string.Format(AppResources.ThereWasAProblemReadingAPasskeyForXTryAgainLater, RpId), AppResources.Ok);
Finish();
});
}
Expand All @@ -128,7 +128,7 @@ private async Task GetCipherAndPerformFido2AuthAsync(string cipherId)
LoggerHelper.LogEvenIfCantBeResolved(ex);
await MainThread.InvokeOnMainThreadAsync(async() =>
{
await _deviceActionService.Value.DisplayAlertAsync("Error reading passkey", $"There was a problem reading your passkey for {RpId}. Try again later.", AppResources.Ok); //TODO: i18n
await _deviceActionService.Value.DisplayAlertAsync(AppResources.ErrorReadingPasskey, string.Format(AppResources.ThereWasAProblemReadingAPasskeyForXTryAgainLater, RpId), AppResources.Ok);
Finish();
});
}
Expand Down

0 comments on commit 3441f14

Please sign in to comment.