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

@@ -94,8 +94,17 @@ class GalleryInfoDesktop extends StatelessWidget {
SizedBox(
width: 170,
child: Column(children: [
SelectableText(gData.meta.category,
style: TextStyle(color: cs.secondary)),
SelectableText.rich(TextSpan(
text: gData.meta.category,
style: TextStyle(color: cs.secondary),
mouseCursor: SystemMouseCursors.click,
recognizer: TapGestureRecognizer()
..onTap = () {
context.pushNamed("/galleries",
queryParameters: {
"category": gData.meta.category
});
})),
SelectableText.rich(TextSpan(
text: gData.meta.uploader,
style: TextStyle(color: cs.secondary),