From e316668ba6e1bf8e774bd63a112c20c94df6eede Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Mon, 29 Jun 2026 20:03:56 +0200 Subject: [PATCH] Ignore reader chapters query refetch load state due to eviction With 4f4ca98290eb884af7342552e1232ff731e6a03e the chapter queries are getting evicted to trigger a refetch. This caused the reader to enter the loading state, which messed up the current reading position. --- src/features/reader/screens/Reader.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/reader/screens/Reader.tsx b/src/features/reader/screens/Reader.tsx index b01707ba..1ef09ad5 100644 --- a/src/features/reader/screens/Reader.tsx +++ b/src/features/reader/screens/Reader.tsx @@ -108,7 +108,7 @@ const BaseReader = ({ currentChapter === undefined || !areSettingsSet || mangaResponse.loading || - chaptersResponse.loading || + (chaptersResponse.loading && chaptersResponse.dataState !== 'complete') || defaultSettingsResponse.loading; const error = mangaResponse.error ?? chaptersResponse.error ?? defaultSettingsResponse.error;