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. (cherry picked from commit 277d8bad8e8d21cd74dc1681da09a4b980f455e0)
This commit is contained in:
parent
a97deb0036
commit
66f2877a3f
@ -59,7 +59,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user