Remove ongoing flag from background work notifications

This commit is contained in:
Koitharu
2023-06-27 12:34:12 +03:00
parent 6de55afa27
commit f188d1c0f3
4 changed files with 4 additions and 4 deletions

View File

@@ -85,7 +85,7 @@ class LocalChaptersRemoveService : CoroutineIntentService() {
.setProgress(0, 0, true)
.setSmallIcon(android.R.drawable.stat_notify_sync)
.setForegroundServiceBehavior(NotificationCompat.FOREGROUND_SERVICE_DEFERRED)
.setOngoing(true)
.setOngoing(false)
.build()
startForeground(NOTIFICATION_ID, notification)
}