@@ -18,20 +18,16 @@ extension BrowserModel {
1818
1919 model. items = [
2020 // Folders
21- FileItem ( url: URL ( fileURLWithPath: " /tmp/Photos " ) , name: " Photos " , iconName: " folder.fill " , isDirectory: true , fileSize: 0 , modificationDate: now, uti: . folder, isAnimatedGif: false , isVideo: false ) ,
2221 FileItem ( url: URL ( fileURLWithPath: " /tmp/Archive " ) , name: " Archive " , iconName: " folder.fill " , isDirectory: true , fileSize: 0 , modificationDate: lastWeek, uti: . folder, isAnimatedGif: false , isVideo: false ) ,
22+ FileItem ( url: URL ( fileURLWithPath: " /tmp/Photos " ) , name: " Photos " , iconName: " folder.fill " , isDirectory: true , fileSize: 0 , modificationDate: now, uti: . folder, isAnimatedGif: false , isVideo: false ) ,
2323
2424 // Images with different formats
25+ FileItem ( url: URL ( fileURLWithPath: " /tmp/animation.gif " ) , name: " animation.gif " , iconName: " photo " , isDirectory: false , fileSize: 500_000 , modificationDate: lastWeek, uti: . gif, isAnimatedGif: true , isVideo: false ) ,
2526 FileItem ( url: URL ( fileURLWithPath: " /tmp/vacation.jpg " ) , name: " vacation.jpg " , iconName: " photo " , isDirectory: false , fileSize: 2_500_000 , modificationDate: now, uti: . jpeg, isAnimatedGif: false , isVideo: false ) ,
27+ FileItem ( url: URL ( fileURLWithPath: " /tmp/lock.svg " ) , name: " lock.svg " , iconName: " photo " , isDirectory: false , fileSize: 200_000 , modificationDate: yesterday, uti: . svg, isAnimatedGif: false , isVideo: false ) ,
2628 FileItem ( url: URL ( fileURLWithPath: " /tmp/screenshot.png " ) , name: " screenshot.png " , iconName: " photo " , isDirectory: false , fileSize: 1_200_000 , modificationDate: yesterday, uti: . png, isAnimatedGif: false , isVideo: false ) ,
27- FileItem ( url: URL ( fileURLWithPath: " /tmp/animation.gif " ) , name: " animation.gif " , iconName: " photo " , isDirectory: false , fileSize: 500_000 , modificationDate: lastWeek, uti: . gif, isAnimatedGif: true , isVideo: false ) ,
2829 FileItem ( url: URL ( fileURLWithPath: " /tmp/profile.heic " ) , name: " profile.heic " , iconName: " photo " , isDirectory: false , fileSize: 3_000_000 , modificationDate: now, uti: . heic, isAnimatedGif: false , isVideo: false ) ,
2930 FileItem ( url: URL ( fileURLWithPath: " /tmp/zipline.mp4 " ) , name: " zipline.mp4 " , iconName: " film " , isDirectory: false , fileSize: 55_100_000 , modificationDate: now, uti: . mpeg4Movie, isAnimatedGif: false , isVideo: true ) ,
30-
31- // Non-image files for testing filtering
32- FileItem ( url: URL ( fileURLWithPath: " /tmp/document.pdf " ) , name: " document.pdf " , iconName: " doc " , isDirectory: false , fileSize: 150_000 , modificationDate: yesterday, uti: . pdf, isAnimatedGif: false , isVideo: false ) ,
33- FileItem ( url: URL ( fileURLWithPath: " /tmp/notes.txt " ) , name: " notes.txt " , iconName: " doc " , isDirectory: false , fileSize: 1_024 , modificationDate: now, uti: . text, isAnimatedGif: false , isVideo: false ) ,
34- FileItem ( url: URL ( fileURLWithPath: " /tmp/code.js " ) , name: " code.js " , iconName: " doc " , isDirectory: false , fileSize: 10_240 , modificationDate: yesterday, uti: . javaScript, isAnimatedGif: false , isVideo: false ) ,
3531 ]
3632
3733 return model
0 commit comments