letzte heute

This commit is contained in:
Leon Bösche
2026-01-17 04:17:53 +01:00
parent d41566f4dc
commit 6c4a5555f3

View File

@@ -117,6 +117,21 @@ class _FileExplorerState extends State<FileExplorer>
'.tsv',
];
if (docExts.contains(ext)) return 'Document';
// Archive
const archiveExts = [
'.zip',
'.tar.gz',
'.tar',
'.gz',
'.bz2',
'.xz',
'.7z',
'.rar',
'.tgz',
'.tbz2',
'.txz',
];
if (archiveExts.contains(ext)) return 'Archive';
return 'File';
}