Rename "initialChapter" to "chapterForDuplicatesHandling"

This commit is contained in:
schroda
2025-02-01 20:03:02 +01:00
parent a80e8885fb
commit 91e8b70d35
5 changed files with 21 additions and 20 deletions

View File

@@ -70,7 +70,7 @@ const BaseReader = ({
shouldShowReadingModePreview,
shouldShowTapZoneLayoutPreview,
setSettings,
initialChapter,
chapterForDuplicatesHandling,
currentChapter,
mangaChapters,
setReaderStateChapters,
@@ -94,7 +94,7 @@ const BaseReader = ({
'shouldSkipDupChapters' | 'backgroundColor' | 'shouldShowReadingModePreview' | 'shouldShowTapZoneLayoutPreview'
> &
Pick<IReaderSettingsWithDefaultFlag, 'readingMode' | 'tapZoneLayout' | 'tapZoneInvertMode'> &
Pick<ReaderStateChapters, 'initialChapter' | 'currentChapter' | 'mangaChapters' | 'setReaderStateChapters'> &
Pick<ReaderStateChapters, 'chapterForDuplicatesHandling' | 'currentChapter' | 'mangaChapters' | 'setReaderStateChapters'> &
Pick<
ReaderStatePages,
| 'totalPages'
@@ -232,7 +232,7 @@ const BaseReader = ({
useReaderSetChaptersState(
chaptersResponse,
chapterSourceOrder,
initialChapter,
chapterForDuplicatesHandling,
setReaderStateChapters,
shouldSkipDupChapters,
);
@@ -395,7 +395,7 @@ export const Reader = withPropsFrom(
'shouldShowReadingModePreview',
'shouldShowTapZoneLayoutPreview',
'setSettings',
'initialChapter',
'chapterForDuplicatesHandling',
'currentChapter',
'mangaChapters',
'setReaderStateChapters',