Add category filter to galleries

This commit is contained in:
2024-08-10 10:04:48 +00:00
committed by GitHub
parent e74a940191
commit 1a79e41f7a
8 changed files with 210 additions and 85 deletions

View File

@@ -72,6 +72,7 @@ final _router = GoRouter(
}
final tag = state.uri.queryParameters["tag"];
final uploader = state.uri.queryParameters["uploader"];
final category = state.uri.queryParameters["category"];
final extra = state.extra as GalleriesPageExtra?;
return GalleriesPage(
key: state.pageKey,
@@ -79,6 +80,7 @@ final _router = GoRouter(
tag: tag,
uploader: uploader,
translatedTag: extra?.translatedTag,
category: category,
hasExtra: extra != null);
}),
GoRoute(