From a9b20dae33dcd693023aad5c3bfbbd334c239e02 Mon Sep 17 00:00:00 2001 From: Viktor De Pasquale Date: Tue, 8 Oct 2019 18:29:58 +0200 Subject: [PATCH] Fixed showing update information --- .../java/com/topjohnwu/magisk/redesign/home/HomeViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/topjohnwu/magisk/redesign/home/HomeViewModel.kt b/app/src/main/java/com/topjohnwu/magisk/redesign/home/HomeViewModel.kt index 3c61fbf9f..7056fbeae 100644 --- a/app/src/main/java/com/topjohnwu/magisk/redesign/home/HomeViewModel.kt +++ b/app/src/main/java/com/topjohnwu/magisk/redesign/home/HomeViewModel.kt @@ -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