Support null preference keys (#1623)

This commit is contained in:
Mitchell Syer
2025-09-01 17:03:21 -04:00
committed by GitHub
parent 3179169913
commit ddedceeded
2 changed files with 5 additions and 6 deletions

View File

@@ -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()