Unindexed files

This commit is contained in:
2025-11-15 02:59:20 +08:00
parent 0d11435feb
commit 74fa2215a6
7 changed files with 540 additions and 161 deletions

View File

@@ -21,6 +21,7 @@ class FileListScreen extends HookConsumerWidget {
Widget build(BuildContext context, WidgetRef ref) {
// Path navigation state
final currentPath = useState<String>('/');
final mode = useState<FileListMode>(FileListMode.normal);
final usageAsync = ref.watch(billingUsageProvider);
final quotaAsync = ref.watch(billingQuotaProvider);
@@ -54,6 +55,7 @@ class FileListScreen extends HookConsumerWidget {
onPickAndUpload:
() => _pickAndUploadFile(ref, currentPath.value),
onShowCreateDirectory: _showCreateDirectoryDialog,
mode: mode,
),
loading: () => const Center(child: CircularProgressIndicator()),
error: (e, _) => Center(child: Text('Error loading quota')),