mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
copy text to pasteboard when tapping email button
This commit is contained in:
parent
666da89c98
commit
5f0297f237
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ struct NewsletterEmailsView: View {
|
|||
Section(header: Text("Existing Emails (Tap to copy)")) {
|
||||
ForEach(viewModel.emails) { newsletterEmail in
|
||||
Button(
|
||||
action: {},
|
||||
action: { UIPasteboard.general.string = newsletterEmail.email },
|
||||
label: { Text(newsletterEmail.email) }
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue