Skip to content

Commit

Permalink
feat: 🎬 Display ico and avi files (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbmorley authored Jun 20, 2024
1 parent 0e0e5e1 commit 2d0d0fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Folders/Views/GridView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class InnerGridView: NSView {

init(sceneModel: SceneModel, store: Store, ownerURL: URL, directoryURL: URL) {
self.sceneModel = sceneModel
let filter: Filter = .owner(ownerURL) && .parent(directoryURL) && (.conforms(to: .pdf) || .conforms(to: .jpeg) || .conforms(to: .gif) || .conforms(to: .png) || .conforms(to: .video) || .conforms(to: .mpeg4Movie) || .conforms(to: .cbz) || .conforms(to: .stl) || .conforms(to: .mp3) || .conforms(to: .tap) || .conforms(to: .mkv) || .conforms(to: .bmp) || .conforms(to: .webP))
let filter: Filter = .owner(ownerURL) && .parent(directoryURL) && (.conforms(to: .pdf) || .conforms(to: .jpeg) || .conforms(to: .gif) || .conforms(to: .png) || .conforms(to: .video) || .conforms(to: .mpeg4Movie) || .conforms(to: .cbz) || .conforms(to: .stl) || .conforms(to: .mp3) || .conforms(to: .tap) || .conforms(to: .mkv) || .conforms(to: .bmp) || .conforms(to: .webP) || .conforms(to: .ico) || .conforms(to: .avi))
self.storeView = StoreView(store: store, filter: filter, sort: .displayNameDescending)

scrollView = NSScrollView()
Expand Down

0 comments on commit 2d0d0fa

Please sign in to comment.