mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-05 03:44:36 -05:00
Support null preference keys (#1623)
This commit is contained in:
@@ -134,7 +134,6 @@ object Source {
|
||||
position: Int,
|
||||
value: String,
|
||||
getValue: (Preference) -> Any = { pref ->
|
||||
println(jsonMapper::class.java.name)
|
||||
when (pref.defaultValueType) {
|
||||
"String" -> value
|
||||
"Boolean" -> value.toBoolean()
|
||||
|
||||
Reference in New Issue
Block a user