mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-04-27 02:14:45 +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
|
isPresented: $isDisplayingAlert
|
||||||
) {
|
) {
|
||||||
Button("alert.button.ok", action: {})
|
Button("alert.button.ok", action: {})
|
||||||
|
Button("status.action.copy-text", action: { UIPasteboard.general.string = text })
|
||||||
} message: {
|
} message: {
|
||||||
Text(text)
|
Text(text)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue