Skip to content

Commit

Permalink
fix(core-websdk/cloud_config): fix migrate null value fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
xz-dev committed Jul 11, 2022
1 parent 105f61a commit 0ac29b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fun app1to2(oldJson: JSONObject): JSONObject? {
"magisk_module" -> "android_magisk_module"
"shell" -> "android_custom_shell"
"shell_root" -> "android_custom_shell_root"
else -> null
else -> s.lowercase()
}

if (oldJson.getInt("base_version") != 1) return null
Expand Down

0 comments on commit 0ac29b9

Please sign in to comment.