diff --git a/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/Source.kt b/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/Source.kt index d17c4406..c91e771a 100644 --- a/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/Source.kt +++ b/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/Source.kt @@ -112,10 +112,6 @@ object Source { val newValue = when (pref.defaultValueType) { "String" -> change.value - "Int" -> change.value.toInt() - "Long" -> change.value.toLong() - "Float" -> change.value.toLong() - "Double" -> change.value.toDouble() "Boolean" -> change.value.toBoolean() else -> throw RuntimeException("Unsupported type conversion") }