Commit 49dfa2c3 authored by vvb2060's avatar vvb2060 Committed by John Wu

Fix update from notification will fail

parent 7bd3e768
...@@ -24,6 +24,7 @@ class JobService : BaseJobService() { ...@@ -24,6 +24,7 @@ class JobService : BaseJobService() {
val coroutineScope = CoroutineScope(Dispatchers.IO + job) val coroutineScope = CoroutineScope(Dispatchers.IO + job)
coroutineScope.launch { coroutineScope.launch {
svc.fetchUpdate()?.run { svc.fetchUpdate()?.run {
Info.remote = this
if (Info.env.isActive && BuildConfig.VERSION_CODE < magisk.versionCode) if (Info.env.isActive && BuildConfig.VERSION_CODE < magisk.versionCode)
Notifications.managerUpdate(this@JobService) Notifications.managerUpdate(this@JobService)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment