diff --git a/lib/routes/typed/branches/upload_queue_route.dart b/lib/routes/typed/branches/upload_queue_route.dart index 77521e5..0c3ebb2 100644 --- a/lib/routes/typed/branches/upload_queue_route.dart +++ b/lib/routes/typed/branches/upload_queue_route.dart @@ -4,12 +4,6 @@ import 'package:paperless_mobile/features/sharing/view/consumption_queue_view.da import 'package:paperless_mobile/routes/navigation_keys.dart'; import 'package:paperless_mobile/routes/routes.dart'; -part 'upload_queue_route.g.dart'; - -@TypedGoRoute( - path: "/upload-queue", - name: R.uploadQueue, -) class UploadQueueRoute extends GoRouteData { static final GlobalKey $parentNavigatorKey = outerShellNavigatorKey; diff --git a/lib/routes/typed/shells/authenticated_route.dart b/lib/routes/typed/shells/authenticated_route.dart index 8f66d59..2efc608 100644 --- a/lib/routes/typed/shells/authenticated_route.dart +++ b/lib/routes/typed/shells/authenticated_route.dart @@ -20,6 +20,7 @@ import 'package:paperless_mobile/routes/typed/branches/inbox_route.dart'; import 'package:paperless_mobile/routes/typed/branches/labels_route.dart'; import 'package:paperless_mobile/routes/typed/branches/landing_route.dart'; import 'package:paperless_mobile/routes/typed/branches/scanner_route.dart'; +import 'package:paperless_mobile/routes/typed/branches/upload_queue_route.dart'; import 'package:paperless_mobile/routes/typed/shells/scaffold_shell_route.dart'; import 'package:paperless_mobile/routes/typed/top_level/settings_route.dart'; import 'package:provider/provider.dart'; @@ -34,6 +35,10 @@ part 'authenticated_route.g.dart'; path: "/settings", name: R.settings, ), + TypedGoRoute( + path: "/upload-queue", + name: R.uploadQueue, + ), TypedStatefulShellRoute( branches: [ TypedStatefulShellBranch(