Skip to content

fix: prioritize reader progress sync tasks#562

Merged
everpcpc merged 2 commits intomainfrom
codex/reader-progress-priority
Feb 25, 2026
Merged

fix: prioritize reader progress sync tasks#562
everpcpc merged 2 commits intomainfrom
codex/reader-progress-priority

Conversation

@everpcpc
Copy link
Copy Markdown
Owner

Summary

  • Prioritize reader progress sync dispatch with Task(priority: .userInitiated) in DivinaReaderView.
  • Keep preload-related work (preloadPages, adjacent segment preload, TOC ensure) on .utility.
  • Remove duplicate updateProgress() calls from ScrollPageView and CurlPageView so progress updates flow through a single trigger path.

Testing

  • Not run (not requested)

Use userInitiated priority for reader progress updates in DivinaReaderView and keep preload tasks at utility priority.

Remove duplicate updateProgress calls from ScrollPageView and CurlPageView so progress is dispatched through a single path when currentPageIndex changes.
@everpcpc everpcpc merged commit ee8ebc1 into main Feb 25, 2026
3 checks passed
@everpcpc everpcpc deleted the codex/reader-progress-priority branch February 25, 2026 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant