mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-24 04:12:06 +00:00
ios: paste image (#710)
This commit is contained in:
@@ -176,6 +176,11 @@ struct ComposeView: View {
|
||||
Button("Choose from library") {
|
||||
showImagePicker = true
|
||||
}
|
||||
if UIPasteboard.general.hasImages {
|
||||
Button("Paste image") {
|
||||
chosenImage = UIPasteboard.general.image
|
||||
}
|
||||
}
|
||||
Button("Choose file") {
|
||||
showFileImporter = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user