diff --git a/app/src/main/java/com/topjohnwu/magisk/ui/home/HomeViewModel.kt b/app/src/main/java/com/topjohnwu/magisk/ui/home/HomeViewModel.kt index 13430ca65..eb68ee22a 100644 --- a/app/src/main/java/com/topjohnwu/magisk/ui/home/HomeViewModel.kt +++ b/app/src/main/java/com/topjohnwu/magisk/ui/home/HomeViewModel.kt @@ -90,7 +90,6 @@ class HomeViewModel( } stateManager = when { - !app.isUpdateChannelCorrect && isConnected.get() -> MagiskState.NOT_INSTALLED app.isObsolete -> MagiskState.OBSOLETE else -> MagiskState.UP_TO_DATE } @@ -170,8 +169,6 @@ class HomeViewModel( private val MagiskJson.isObsolete get() = Info.env.isActive && Info.env.magiskVersionCode < versionCode - private val ManagerJson.isUpdateChannelCorrect - get() = versionCode > 0 private val ManagerJson.isObsolete get() = BuildConfig.VERSION_CODE < versionCode