mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-16 18:46:04 +00:00
ios: paste image (#710)
This commit is contained in:
committed by
GitHub
parent
71fa2bfec0
commit
23b75f11fe
@@ -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