mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-16 18:09:16 +01:00
Fix Kitsu refresh method
This commit is contained in:
parent
510669ee2c
commit
ba428c401d
@ -130,9 +130,10 @@ class Kitsu(private val context: Context, id: Int) : TrackService(id) {
|
|||||||
|
|
||||||
override fun refresh(track: Track): Observable<Track> {
|
override fun refresh(track: Track): Observable<Track> {
|
||||||
return api.getLibManga(track)
|
return api.getLibManga(track)
|
||||||
.doOnNext { remoteTrack ->
|
.map { remoteTrack ->
|
||||||
track.copyPersonalFrom(remoteTrack)
|
track.copyPersonalFrom(remoteTrack)
|
||||||
track.total_chapters = remoteTrack.total_chapters
|
track.total_chapters = remoteTrack.total_chapters
|
||||||
|
track
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user