mirror of
https://github.com/bitwarden/mobile
synced 2025-12-21 10:43:22 +00:00
use ValueHasBeenCopied string
This commit is contained in:
@@ -64,12 +64,14 @@ namespace Bit.App.Utilities
|
|||||||
else if(selection == AppResources.CopyUsername)
|
else if(selection == AppResources.CopyUsername)
|
||||||
{
|
{
|
||||||
await platformUtilsService.CopyToClipboardAsync(cipher.Login.Username);
|
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)
|
else if(selection == AppResources.CopyPassword)
|
||||||
{
|
{
|
||||||
await platformUtilsService.CopyToClipboardAsync(cipher.Login.Password);
|
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)
|
else if(selection == AppResources.CopyTotp)
|
||||||
{
|
{
|
||||||
@@ -78,7 +80,8 @@ namespace Bit.App.Utilities
|
|||||||
if(!string.IsNullOrWhiteSpace(totp))
|
if(!string.IsNullOrWhiteSpace(totp))
|
||||||
{
|
{
|
||||||
await platformUtilsService.CopyToClipboardAsync(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)
|
else if(selection == AppResources.Launch)
|
||||||
|
|||||||
Reference in New Issue
Block a user