From 49705b107429b7165edff12e8e641a4e6b537bed Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 30 May 2019 09:15:59 -0400 Subject: [PATCH] use ValueHasBeenCopied string --- src/App/Utilities/AppHelpers.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/App/Utilities/AppHelpers.cs b/src/App/Utilities/AppHelpers.cs index fe3494874..e352e6e6e 100644 --- a/src/App/Utilities/AppHelpers.cs +++ b/src/App/Utilities/AppHelpers.cs @@ -64,12 +64,14 @@ namespace Bit.App.Utilities else if(selection == AppResources.CopyUsername) { await platformUtilsService.CopyToClipboardAsync(cipher.Login.Username); - platformUtilsService.ShowToast("info", null, AppResources.CopiedUsername); + platformUtilsService.ShowToast("info", null, + string.Format(AppResources.ValueHasBeenCopied, AppResources.Username)); } else if(selection == AppResources.CopyPassword) { await platformUtilsService.CopyToClipboardAsync(cipher.Login.Password); - platformUtilsService.ShowToast("info", null, AppResources.CopiedPassword); + platformUtilsService.ShowToast("info", null, + string.Format(AppResources.ValueHasBeenCopied, AppResources.Password)); } else if(selection == AppResources.CopyTotp) { @@ -78,7 +80,8 @@ namespace Bit.App.Utilities if(!string.IsNullOrWhiteSpace(totp)) { await platformUtilsService.CopyToClipboardAsync(totp); - platformUtilsService.ShowToast("info", null, AppResources.CopiedTotp); + platformUtilsService.ShowToast("info", null, + string.Format(AppResources.ValueHasBeenCopied, AppResources.VerificationCodeTotp)); } } else if(selection == AppResources.Launch)