mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 09:07:47 +01:00
change booleans to numbers
This commit is contained in:
parent
378d62395a
commit
f1ea306291
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class LegacySettingsProvider : ContentProvider() {
|
|||
val sharedPreferences = context!!.getSharedPreferences("FlutterSharedPreferences", Context.MODE_PRIVATE)
|
||||
val allEntries: Map<String, *> = sharedPreferences.getAll()
|
||||
for ((key, value) in allEntries.entries) {
|
||||
json.put(key.replace("flutter.", ""), value)
|
||||
json.put(key.replace("flutter.", ""), if (value is Boolean) if (value) 1 else 0 else value)
|
||||
}
|
||||
|
||||
// Load keystore
|
||||
|
|
Loading…
Reference in a new issue