letzte heute
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user