fixed mal score

This commit is contained in:
LagradOst 2022-04-05 13:15:16 +02:00
parent 2b5a3ccbc9
commit f9b151ea8c

View file

@ -194,7 +194,7 @@ class MALApi(index: Int) : AccountManager(index), SyncAPI {
id = malAnime.id?.toString()!!, id = malAnime.id?.toString()!!,
totalEpisodes = malAnime.numEpisodes, totalEpisodes = malAnime.numEpisodes,
title = malAnime.title, title = malAnime.title,
publicScore = malAnime.mean?.toFloat()?.times(100)?.toInt(), publicScore = malAnime.mean?.toFloat()?.times(1000)?.toInt(),
duration = malAnime.averageEpisodeDuration, duration = malAnime.averageEpisodeDuration,
synopsis = malAnime.synopsis, synopsis = malAnime.synopsis,
airStatus = when (malAnime.status) { airStatus = when (malAnime.status) {