From fafd4c531553dd7c8ccc26d40a998b3bd5bcbeb9 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 20 Nov 2025 11:31:13 +0000 Subject: [PATCH] fix: remove unused parameters from librarySeriesProvider - Remove unused page and limit parameters from librarySeries provider - Update library_series_page to call provider without parentheses - Fix riverpod_generator compatibility issue --- lib/api/library_browser_provider.dart | 2 +- lib/features/library_browser/view/library_series_page.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/api/library_browser_provider.dart b/lib/api/library_browser_provider.dart index 08fb524..38aec82 100644 --- a/lib/api/library_browser_provider.dart +++ b/lib/api/library_browser_provider.dart @@ -56,7 +56,7 @@ Future> libraryGenres(Ref ref) async { /// Provider for fetching all series in the current library @riverpod -Future librarySeries(Ref ref, {int page = 0, int limit = 50}) async { +Future librarySeries(Ref ref) async { final api = ref.watch(authenticatedApiProvider); final currentLibrary = await ref.watch(currentLibraryProvider.future); diff --git a/lib/features/library_browser/view/library_series_page.dart b/lib/features/library_browser/view/library_series_page.dart index a967b9b..c2516c2 100644 --- a/lib/features/library_browser/view/library_series_page.dart +++ b/lib/features/library_browser/view/library_series_page.dart @@ -8,7 +8,7 @@ class LibrarySeriesPage extends HookConsumerWidget { @override Widget build(BuildContext context, WidgetRef ref) { - final seriesAsync = ref.watch(librarySeriesProvider()); + final seriesAsync = ref.watch(librarySeriesProvider); return Scaffold( appBar: AppBar(