mihon
mihon copied to clipboard
Fix last_chapter_read value when binding to an enhanced tracker
This PR is related to #1298.
When adding an item to the library, with the #1298 fix, the track's last_read_chapter value set by SyncChapterProgressWithTrack
is always set to the local last read chapter.
This fix uses the max between the local and remote last read chapter to set its new value.