mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-25 02:51:47 +01:00
Fix #606
This commit is contained in:
parent
14b04693c8
commit
82978e90d8
@ -135,7 +135,7 @@ class Anilist(private val context: Context, id: Int) : TrackService(id) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override suspend fun update(track: Track): Track {
|
override suspend fun update(track: Track): Track {
|
||||||
if (track.total_chapters != 0 && track.last_chapter_read == track.total_chapters) {
|
if (track.status == READING && track.total_chapters != 0 && track.last_chapter_read == track.total_chapters) {
|
||||||
track.status = COMPLETED
|
track.status = COMPLETED
|
||||||
}
|
}
|
||||||
// If user was using API v1 fetch library_id
|
// If user was using API v1 fetch library_id
|
||||||
|
Loading…
Reference in New Issue
Block a user