Fix extension update badge reset when app resumed (#6822)
This commit is contained in:
@@ -34,7 +34,7 @@ class ExtensionUpdateJob(private val context: Context, workerParams: WorkerParam
|
||||
return@coroutineScope Result.failure()
|
||||
}
|
||||
|
||||
if (pendingUpdates.isNotEmpty()) {
|
||||
if (!pendingUpdates.isNullOrEmpty()) {
|
||||
createUpdateNotification(pendingUpdates.map { it.name })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user