mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 06:39:20 +01:00
parent
27e6ddd816
commit
000be36722
@ -9,6 +9,7 @@ import eu.kanade.tachiyomi.data.database.models.Track
|
||||
import eu.kanade.tachiyomi.data.track.TrackService
|
||||
import eu.kanade.tachiyomi.data.track.model.TrackSearch
|
||||
import eu.kanade.tachiyomi.data.track.myanimelist.MyAnimeList
|
||||
import eu.kanade.tachiyomi.data.track.updateNewTrackInfo
|
||||
import timber.log.Timber
|
||||
import uy.kohesive.injekt.injectLazy
|
||||
import java.text.DecimalFormat
|
||||
@ -101,6 +102,7 @@ class Kitsu(private val context: Context, id: Int) : TrackService(id) {
|
||||
override suspend fun add(track: Track): Track {
|
||||
track.score = DEFAULT_SCORE
|
||||
track.status = DEFAULT_STATUS
|
||||
updateNewTrackInfo(track, PLAN_TO_READ)
|
||||
return api.addLibManga(track, getUserId())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user