diff --git a/app/src/main/java/com/topjohnwu/magisk/core/UpdateCheckService.kt b/app/src/main/java/com/topjohnwu/magisk/core/UpdateCheckService.kt index 677a9b3c8..dd9345d6e 100644 --- a/app/src/main/java/com/topjohnwu/magisk/core/UpdateCheckService.kt +++ b/app/src/main/java/com/topjohnwu/magisk/core/UpdateCheckService.kt @@ -21,7 +21,7 @@ class UpdateCheckService(context: Context, workerParams: WorkerParameters) magiskRepo.fetchUpdate().blockingGet() if (BuildConfig.VERSION_CODE < Info.remote.app.versionCode) Notifications.managerUpdate(applicationContext) - else if (Info.env.magiskVersionCode < Info.remote.magisk.versionCode) + else if (Info.env.isActive && Info.env.magiskVersionCode < Info.remote.magisk.versionCode) Notifications.magiskUpdate(applicationContext) Result.success() }.getOrElse {