Skip to content

A cross platform Audiobookshelf client for Android and iOS

Dart

Show every genre and tag on the book page instead of the first few

Barnabas8a1710a8abf4
diff --git a/lib/widgets/book_detail_sheet.dart b/lib/widgets/book_detail_sheet.dart
index 2d734500..3ca01688 100644
--- a/lib/widgets/book_detail_sheet.dart
+++ b/lib/widgets/book_detail_sheet.dart
@@ -1208,7 +1208,7 @@ class _BookDetailSheetContentState extends State<_BookDetailSheetContent> {
if (chapters.isNotEmpty) _chip(Icons.list_rounded, l.chaptersChip(chapters.length)),
..._audioInfoChips(media),
if (publisher.isNotEmpty) _chip(Icons.business_rounded, publisher),
- ...genres.take(3).map((g) => _chip(
+ ...genres.map((g) => _chip(
Icons.tag_rounded,
g,
onTap: () {
@@ -1216,7 +1216,7 @@ class _BookDetailSheetContentState extends State<_BookDetailSheetContent> {
AppShell.openLibraryWithGenreFilterGlobal(g);
},
)),
- ...tags.take(5).map((t) => _chip(
+ ...tags.map((t) => _chip(
Icons.local_offer_outlined,
t,
onTap: () {