mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-26 10:11:00 +00:00
Add support for .mov in the composer
This commit is contained in:
parent
17a0e08c64
commit
f96ec217ae
1 changed files with 3 additions and 2 deletions
|
@ -17,14 +17,15 @@ enum StatusEditorUTTypeSupported: String, CaseIterable {
|
|||
case movie = "public.movie"
|
||||
case mp4 = "public.mpeg-4"
|
||||
case gif = "public.gif"
|
||||
case quickTimeMovie = "com.apple.quicktime-movie"
|
||||
|
||||
static func types() -> [UTType] {
|
||||
[.url, .text, .plainText, .image, .jpeg, .png, .video, .mpeg4Movie, .gif, .movie]
|
||||
[.url, .text, .plainText, .image, .jpeg, .png, .video, .mpeg4Movie, .gif, .movie, .quickTimeMovie]
|
||||
}
|
||||
|
||||
var isVideo: Bool {
|
||||
switch self {
|
||||
case .video, .movie, .mp4, .gif:
|
||||
case .video, .movie, .mp4, .gif, .quickTimeMovie:
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
|
|
Loading…
Reference in a new issue