mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-11 14:14:09 +01:00
Add copy button for alt text
This commit is contained in:
parent
54a16b2c9a
commit
9c42a3d7cc
@ -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 New Issue
Block a user