mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-23 15:40:37 +00:00
Add copy button for alt text
This commit is contained in:
parent
54a16b2c9a
commit
9c42a3d7cc
1 changed files with 1 additions and 0 deletions
|
@ -288,6 +288,7 @@ struct AltTextButton: View {
|
|||
isPresented: $isDisplayingAlert
|
||||
) {
|
||||
Button("alert.button.ok", action: {})
|
||||
Button("status.action.copy-text", action: { UIPasteboard.general.string = text })
|
||||
} message: {
|
||||
Text(text)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue