mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-26 06:43:45 +03:00
fix unknown status error in anilist tracker
This commit is contained in:
parent
06cb3644eb
commit
96624efd7f
1 changed files with 2 additions and 2 deletions
|
@ -944,8 +944,8 @@ class AnimePresenter(
|
|||
|
||||
fun setTrackerLastEpisodeSeen(item: TrackItem, episodeNumber: Int) {
|
||||
val track = item.track!!
|
||||
if (track.last_episode_seen == 0F && track.last_episode_seen < episodeNumber && track.status != item.service.getRereadingStatus()) {
|
||||
track.status = item.service.getReadingStatus()
|
||||
if (track.last_episode_seen == 0F && track.last_episode_seen < episodeNumber && track.status != item.service.getRewatchingStatus()) {
|
||||
track.status = item.service.getWatchingStatus()
|
||||
}
|
||||
track.last_episode_seen = episodeNumber.toFloat()
|
||||
if (track.total_episodes != 0 && track.last_episode_seen.toInt() == track.total_episodes) {
|
||||
|
|
Loading…
Reference in a new issue