Add copy button for alt text

This commit is contained in:
Thomas Ricouard 2024-05-08 11:03:25 +02:00
parent 54a16b2c9a
commit 9c42a3d7cc

View file

@ -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)
}