mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-27 12:26:31 +01:00
copy model password, not label text
This commit is contained in:
parent
8934cebc2a
commit
9d8a9387bc
@ -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 New Issue
Block a user