Add opt-in smart resume for newly available chapters - #112
Merged
LandWarderer2772 merged 1 commit intoSep 19, 2026
Merged
Conversation
Member
|
This looks like an actually useful feature, i have had the same experience. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently, when you're finished with a chapter and a new update is posted, you click on it and end up loading both the end of the old chapter and, inevitably, the next chapter. This PR adds an opt-in feature called smart resume that, depending on the configurable settings, will automatically skip to the new chapter's first page, making it both smoother and requiring less to load and process overall.
I feel like it could use some more feedback on the behavior, as I just designed it to fix an annoyance that goes hand in hand with the problem the prefetch PR fixes.
Settings appear inline after the reader-mode controls:
With waiting off, the first usable chapter list determines the position; later updates cannot trigger a jump.
With waiting on, potentially eligible starts wait for the normal details update without forcing a refresh.
Original history is captured before recovery or startup writes. Recovered history is ineligible. Failed updates
or empty/failed successor loads preserve the saved position; cancellation propagates.
Completion counts the current source page as reached, rather than scroll distance within a long image.
Previous-latest detection uses the saved chapter count and assumes chapters are appended in reading order.
The implementation uses existing preferences, with no database migration or new dependency.
I compiled the APK and tested it on my phone and an emulator; both are working as expected.