Rename magiskVersion* -> version*

This commit is contained in:
topjohnwu
2021-12-14 02:59:06 -08:00
parent 41b701846f
commit ad47dba064
5 changed files with 11 additions and 11 deletions
@@ -26,7 +26,7 @@ class NetworkService(
CUSTOM_CHANNEL -> fetchCustomUpdate(Config.customChannelUrl)
else -> throw IllegalArgumentException()
}
if (info.magisk.versionCode < Info.env.magiskVersionCode &&
if (info.magisk.versionCode < Info.env.versionCode &&
Config.updateChannel == DEFAULT_CHANNEL
) {
Config.updateChannel = BETA_CHANNEL