mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-31 19:31:01 +00:00
fix: add missing ui SharedPreference
This commit is contained in:
@@ -41,7 +41,7 @@ class PreferencePackager {
|
||||
val value = typeValueMap["value"]
|
||||
|
||||
innerMap[key] =
|
||||
when (typeName) { //wierdly null sometimes so cast to string
|
||||
when (typeName) { //weirdly null sometimes so cast to string
|
||||
"kotlin.Int" -> (value as? Double)?.toInt()
|
||||
"kotlin.String" -> value.toString()
|
||||
"kotlin.Boolean" -> value as? Boolean
|
||||
|
||||
Reference in New Issue
Block a user