👽 Adopt the new folder system (w.i.p)

This commit is contained in:
2025-11-14 01:04:15 +08:00
parent 05ac04e9a2
commit 84cfe643f5
10 changed files with 499 additions and 77 deletions

View File

@@ -160,7 +160,7 @@ class FileListView extends HookConsumerWidget {
),
),
title: Text(
folderItem.name,
folderItem.folder.name,
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
@@ -169,8 +169,8 @@ class FileListView extends HookConsumerWidget {
// Navigate to folder
final newPath =
currentPath.value == '/'
? '/${folderItem.name}'
: '${currentPath.value}/${folderItem.name}';
? '/${folderItem.folder.name}'
: '${currentPath.value}/${folderItem.folder.name}';
currentPath.value = newPath;
},
),