Add copy button for alt text
This commit is contained in:
parent
54a16b2c9a
commit
9c42a3d7cc
|
@ -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 New Issue