mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
copy model password, not label text
This commit is contained in:
parent
8934cebc2a
commit
9d8a9387bc
1 changed files with 2 additions and 2 deletions
|
@ -203,7 +203,7 @@ namespace Bit.App.Pages
|
||||||
_googleAnalyticsService.TrackAppEvent("SelectedGeneratedPassword");
|
_googleAnalyticsService.TrackAppEvent("SelectedGeneratedPassword");
|
||||||
}
|
}
|
||||||
|
|
||||||
_passwordValueAction(Password.Text);
|
_passwordValueAction(Model.Password);
|
||||||
await Navigation.PopForDeviceAsync();
|
await Navigation.PopForDeviceAsync();
|
||||||
}, ToolbarItemOrder.Default, 0);
|
}, ToolbarItemOrder.Default, 0);
|
||||||
|
|
||||||
|
@ -302,7 +302,7 @@ namespace Bit.App.Pages
|
||||||
{
|
{
|
||||||
_googleAnalyticsService.TrackAppEvent("CopiedGeneratedPassword");
|
_googleAnalyticsService.TrackAppEvent("CopiedGeneratedPassword");
|
||||||
}
|
}
|
||||||
_deviceActionService.CopyToClipboard(Password.Text);
|
_deviceActionService.CopyToClipboard(Model.Password);
|
||||||
_deviceActionService.Toast(string.Format(AppResources.ValueHasBeenCopied, AppResources.Password));
|
_deviceActionService.Toast(string.Format(AppResources.ValueHasBeenCopied, AppResources.Password));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue