mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-23 11:45:11 +00:00
fixed getter
This commit is contained in:
parent
292405b05e
commit
a694b74e0f
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ object InternetTools {
|
|||
|
||||
suspend fun isUpdateAvailable(): Boolean {
|
||||
val result = JsonHelper.getJson("https://x1nto.github.io/VancedFiles/manager.json")
|
||||
val remoteVersion = result.get("versionCode").asInt
|
||||
val remoteVersion = result.int("versionCode")
|
||||
|
||||
return remoteVersion > BuildConfig.VERSION_CODE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue