0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-23 11:45:11 +00:00

fixed getter

This commit is contained in:
X1nto 2020-07-12 22:34:02 +04:00
parent 292405b05e
commit a694b74e0f

View file

@ -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
}