mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Add support for audio/* mime types on pasting/sharing/drag&dropping files.
This commit is contained in:
@@ -171,7 +171,10 @@ extension NSItemProvider {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
return mimeType.hasPrefix("image/") || mimeType.hasPrefix("video/") || mimeType.hasPrefix("application/")
|
return mimeType.hasPrefix("application/") ||
|
||||||
|
mimeType.hasPrefix("audio/") ||
|
||||||
|
mimeType.hasPrefix("image/") ||
|
||||||
|
mimeType.hasPrefix("video/")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user