From 85bb032d03da88c327827c348fc05c5f251ca58a Mon Sep 17 00:00:00 2001 From: robo <30987265+Robonau@users.noreply.github.com> Date: Fri, 20 Dec 2024 12:05:36 +0000 Subject: [PATCH] fix reader chapter transition warning chapters number (#846) --- src/modules/reader/services/ReaderControls.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/reader/services/ReaderControls.ts b/src/modules/reader/services/ReaderControls.ts index 5efd391c..569fc029 100644 --- a/src/modules/reader/services/ReaderControls.ts +++ b/src/modules/reader/services/ReaderControls.ts @@ -219,7 +219,7 @@ export class ReaderControls { const continuousChapter = isContinuousChapter ? '' : t(offsetToTranslationKeys[offset].chapter_number, { - count: missingChapters, + count: missingChapters - 1, nextChapter: `#${chapterToOpen.chapterNumber} ${chapterToOpen.name}`, currentChapter: `#${currentChapter.chapterNumber} ${currentChapter.name}`, });