mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-23 13:02:34 +01:00
remove not used types
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user