A cross platform Audiobookshelf client for Android and iOS
Dart
Open the library with the genre or tag filter applied when you tap one on a book found through search
Barnabasa82b77368030
diff --git a/lib/screens/library_screen.dart b/lib/screens/library_screen.dartindex e11fc6eb..96b6aaf0 100644--- a/lib/screens/library_screen.dart+++ b/lib/screens/library_screen.dart@@ -2029,6 +2029,9 @@ class LibraryScreenState extends State<LibraryScreen>/// AppShell.openLibraryWithTagFilterGlobal so a tag chip tapped from the/// book detail sheet drops the user into the matching library view.void applyTagFilter(String tag) {+ // The sheet may have been opened from search results: leave search+ // so the filtered library shows instead of the results list.+ clearSearch();if (_currentTab != 0 && _tabController != null) {_tabController!.animateTo(0);}@@ -2038,6 +2041,7 @@ class LibraryScreenState extends State<LibraryScreen>/// Switch to the Books sub-tab (if needed) and apply a genre filter./// Mirrors [applyTagFilter] for genre chips tapped from book detail.void applyGenreFilter(String genre) {+ clearSearch();if (_currentTab != 0 && _tabController != null) {_tabController!.animateTo(0);}