Fixed showing update information
This commit is contained in:
parent
e595937740
commit
a9b20dae33
@ -111,7 +111,7 @@ class HomeViewModel(
|
|||||||
val MagiskJson.isInstalled
|
val MagiskJson.isInstalled
|
||||||
get() = Info.magiskVersionCode > 0
|
get() = Info.magiskVersionCode > 0
|
||||||
val MagiskJson.isObsolete
|
val MagiskJson.isObsolete
|
||||||
get() = Info.magiskVersionCode < versionCode
|
get() = Info.magiskVersionCode < versionCode && isInstalled
|
||||||
val ManagerJson.isUpdateChannelCorrect
|
val ManagerJson.isUpdateChannelCorrect
|
||||||
get() = versionCode > 0
|
get() = versionCode > 0
|
||||||
val ManagerJson.isObsolete
|
val ManagerJson.isObsolete
|
||||||
|
Loading…
Reference in New Issue
Block a user