Hikka: Set PLAN_TO_READ for manga with no progress (#3534)
Currently, every title will be added as READING, even if no chapter has been read. For consistency with every other tracker, I added the hasReadChapters check as seen in other tracker implementations.
This commit is contained in:
@@ -112,6 +112,7 @@ class Hikka(id: Long) : BaseTracker(id, "Hikka"), DeletableTracker {
|
||||
track.finished_reading_date = (readContent.endDate ?: 0L) * 1000
|
||||
update(track)
|
||||
} else {
|
||||
track.status = if (hasReadChapters) READING else PLAN_TO_READ
|
||||
track.score = 0.0
|
||||
update(track)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user