mirror of
https://github.com/mihonapp/mihon.git
synced 2025-03-01 10:24:09 +01:00
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:
parent
8b48d1016b
commit
277d8bad8e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user