mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-26 23:07:39 +00:00
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…
x
Reference in New Issue
Block a user