Add back explicit update(track) call to Bangumi (#1771)

Most if not all other trackers do this too. Technically this causes
some request duplication (since things like the BaseTracker's
setRemoteLastChapterRead fire anyway due to the tracker sheet being
open. But considering the reduced number of requests in other places,
I think this is still acceptable.

This change will allow #1736 to proceed, hopefully.
This commit is contained in:
MajorTanya
2025-02-25 06:37:23 +01:00
committed by GitHub
parent 8b48d1016b
commit 277d8bad8e

View File

@ -58,7 +58,7 @@ class Bangumi(id: Long) : BaseTracker(id, "Bangumi") {
track.status = if (hasReadChapters) READING else statusTrack.status
}
track
update(track)
} else {
// Set default fields if it's not found in the list
track.status = if (hasReadChapters) READING else PLAN_TO_READ