♻️ Removed the post compose screen completely

This commit is contained in:
2025-11-02 01:43:04 +08:00
parent 877001b802
commit 88f149584e
3 changed files with 10 additions and 19 deletions

View File

@@ -105,17 +105,6 @@ final routerProvider = Provider<GoRouter>((ref) {
},
routes: [
// Standalone routes without bottom navigation
GoRoute(
name: 'postCompose',
path: '/posts/compose',
builder:
(context, state) => PostComposeScreen(
initialState: state.extra as PostComposeInitialState?,
type:
int.tryParse(state.uri.queryParameters['type'] ?? '0') ??
0,
),
),
GoRoute(
name: 'postEdit',
path: '/posts/:id/edit',