mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-23 21:12:37 +01:00
remove not used types
This commit is contained in:
@@ -112,10 +112,6 @@ object Source {
|
|||||||
|
|
||||||
val newValue = when (pref.defaultValueType) {
|
val newValue = when (pref.defaultValueType) {
|
||||||
"String" -> change.value
|
"String" -> change.value
|
||||||
"Int" -> change.value.toInt()
|
|
||||||
"Long" -> change.value.toLong()
|
|
||||||
"Float" -> change.value.toLong()
|
|
||||||
"Double" -> change.value.toDouble()
|
|
||||||
"Boolean" -> change.value.toBoolean()
|
"Boolean" -> change.value.toBoolean()
|
||||||
else -> throw RuntimeException("Unsupported type conversion")
|
else -> throw RuntimeException("Unsupported type conversion")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user