diff --git a/apps/mobile/src/screens/WorkspaceScreen.tsx b/apps/mobile/src/screens/WorkspaceScreen.tsx index 9d4d5ab1..007cf2c9 100644 --- a/apps/mobile/src/screens/WorkspaceScreen.tsx +++ b/apps/mobile/src/screens/WorkspaceScreen.tsx @@ -15,6 +15,8 @@ import { Code, Copy, ExternalLink, + FileArchive, + FileSpreadsheet, FileText, Folder, Grid, @@ -32,6 +34,7 @@ import { Merge, Minus, MoreHorizontal, + Music, Pencil, Pin, Plus, @@ -46,6 +49,7 @@ import { Trash2, Upload, UserRound, + Video, X, } from "lucide-react-native"; import { @@ -4677,12 +4681,37 @@ const isDocumentResource = (resource: ResourceListItem) => DOCUMENT_MIME_TYPES.h const getResourceIcon = (resource: ResourceListItem) => { const mime = (resource.mimeType || "").toLowerCase(); + const extension = (resource.filename || "").split(".").pop()?.toLowerCase() || ""; if (mime.startsWith("image/")) { return ; } - return ; + if (mime.startsWith("audio/")) { + return ; + } + + if (mime.startsWith("video/")) { + return