mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 11:17:25 +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> {
|
||||
return api.getLibManga(track)
|
||||
.doOnNext { remoteTrack ->
|
||||
.map { remoteTrack ->
|
||||
track.copyPersonalFrom(remoteTrack)
|
||||
track.total_chapters = remoteTrack.total_chapters
|
||||
track
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user