mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-07 17:10:29 +00:00
feat: file tree view responsive support (#856)
This commit is contained in:
6 files changed
+65
-59
No files matched your search
@@ -64,9 +64,8 @@ class TaskFilesView extends GetView<TaskFilesController> {
|
||||
[meta.opts.path, meta.res!.name, fileRelativePath]);
|
||||
final fileName = basename(filePath);
|
||||
return ListTile(
|
||||
leading: file.isDirectory
|
||||
? const Icon(folderIcon)
|
||||
: Icon(fileIcon(fileName)),
|
||||
leading:
|
||||
Icon(fileIcon(fileName, isFolder: file.isDirectory)),
|
||||
title: Text(fileName),
|
||||
subtitle: file.isDirectory
|
||||
? Text('items'.trParams({
|
||||
|
||||
Reference in new issue
Block a user