mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
use ValueHasBeenCopied string
This commit is contained in:
parent
32395dcb20
commit
49705b1074
1 changed files with 6 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue