diff --git a/app/src/main/java/ani/dantotsu/connections/UpdateProgress.kt b/app/src/main/java/ani/dantotsu/connections/UpdateProgress.kt index 6917aade..d66f6061 100644 --- a/app/src/main/java/ani/dantotsu/connections/UpdateProgress.kt +++ b/app/src/main/java/ani/dantotsu/connections/UpdateProgress.kt @@ -15,7 +15,7 @@ import kotlin.math.roundToInt fun updateProgress(media: Media, number: String) { if (Anilist.userid != null) { CoroutineScope(Dispatchers.IO).launch { - val a = number.toFloatOrNull()?.roundToInt() + val a = number.toFloatOrNull()?.toInt() if ((a ?: 0) > (media.userProgress ?: 0)) { Anilist.mutation.editList( media.id,