[SG-598] Removed space from copied totp code (#2046)

Removed space from copied totp code
This commit is contained in:
André Filipe da Silva Bispo 2022-08-23 15:04:17 +01:00 committed by GitHub
parent 525288d804
commit ecd4da08ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,7 +105,7 @@ namespace Bit.App.Pages
public async Task CopyToClipboardAsync()
{
await _clipboardService.CopyTextAsync(TotpCodeFormatted);
await _clipboardService.CopyTextAsync(TotpCodeFormatted?.Replace(" ", string.Empty));
_platformUtilsService.ShowToast("info", null, string.Format(AppResources.ValueHasBeenCopied, AppResources.VerificationCodeTotp));
}