From 52c8734c59455c5839bff0f770a505dd9c4fc016 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Sun, 23 Feb 2025 13:21:32 +0100 Subject: [PATCH] Fix opening chapter via chapter selection in reader Guard should have been removed with 4a9d2903b820fa4d1187c03f78f5177c3c67a64b --- src/modules/reader/screens/Reader.tsx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/modules/reader/screens/Reader.tsx b/src/modules/reader/screens/Reader.tsx index 0d135e6b..bc7ed2a7 100644 --- a/src/modules/reader/screens/Reader.tsx +++ b/src/modules/reader/screens/Reader.tsx @@ -72,8 +72,6 @@ const BaseReader = ({ chapterForDuplicatesHandling, currentChapter, setReaderStateChapters, - firstPageUrl, - totalPages, setTotalPages, setCurrentPageIndex, setPageToScrollToIndex, @@ -108,7 +106,6 @@ const BaseReader = ({ | 'setTransitionPageMode' > & Pick & { - firstPageUrl?: string; cancelAutoScroll: TReaderAutoScrollContext['cancel']; }) => { const { t } = useTranslation(); @@ -270,11 +267,6 @@ const BaseReader = ({ return null; } - const isPlaceholderPageState = totalPages === 1 && firstPageUrl === requestManager.getBaseUrl(); - if (isPlaceholderPageState) { - return null; - } - return (