Fixed showing update information

This commit is contained in:
Viktor De Pasquale 2019-10-08 18:29:58 +02:00
parent e595937740
commit a9b20dae33

View File

@ -111,7 +111,7 @@ class HomeViewModel(
val MagiskJson.isInstalled
get() = Info.magiskVersionCode > 0
val MagiskJson.isObsolete
get() = Info.magiskVersionCode < versionCode
get() = Info.magiskVersionCode < versionCode && isInstalled
val ManagerJson.isUpdateChannelCorrect
get() = versionCode > 0
val ManagerJson.isObsolete