♻️ Turn the file screen into a tab

This commit is contained in:
2025-11-11 00:39:49 +08:00
parent 24e5b3b824
commit 935aa77223
4 changed files with 35 additions and 26 deletions

View File

@@ -395,11 +395,6 @@ final routerProvider = Provider<GoRouter>((ref) {
path: '/account/wallet',
builder: (context, state) => const WalletScreen(),
),
GoRoute(
name: 'files',
path: '/account/files',
builder: (context, state) => const FileListScreen(),
),
GoRoute(
name: 'relationships',
path: '/account/relationships',
@@ -444,6 +439,14 @@ final routerProvider = Provider<GoRouter>((ref) {
return AccountProfileScreen(name: name);
},
),
// Files tab
GoRoute(
name: 'files',
path: '/files',
builder: (context, state) => const FileListScreen(),
),
// Creator hub tab
GoRoute(
name: 'creatorHub',