mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-05-24 08:32:13 +00:00
`ChapterPreloadManager.preloadPrevChapter` does `_currentIndex += prependCount` (internal manager index). Then `_handlePrevChapterPrepended` in `reader_view.dart` does the exact same thing again to the UI’s `_currentIndex` before calling `jumpTo`. The UI state already handles the adjustment + `jumpTo` correctly. The manager’s internal `_currentIndex` is not needed for continuous mode (the `ItemPositionsListener` overrides it anyway). |
||
|---|---|---|
| .. | ||
| chapter_preload_manager.dart | ||