Commit 06a1a131 authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Merge branch 'ftobin-master-patch-38890' into 'master'

fix notification channel for DNS Rule Import finish

See merge request !61
parents ce9d2eaa b18b8ab1
Pipeline #7696 passed with stage
in 4 minutes and 19 seconds
......@@ -130,7 +130,7 @@ class RuleImportService : IntentService("RuleImportService") {
}
private fun showSuccessNotification() {
val successNotification = NotificationCompat.Builder(this, Notifications.getDefaultNotificationChannelId(this))
val successNotification = NotificationCompat.Builder(this, Notifications.getDnsRuleChannelId(this))
successNotification.setSmallIcon(R.drawable.ic_mainnotification)
successNotification.setAutoCancel(true)
successNotification.setContentTitle(getString(R.string.notification_ruleimportfinished_title))
......@@ -438,4 +438,4 @@ class RuleImportService : IntentService("RuleImportService") {
override fun onBind(intent: Intent?): IBinder? {
return null
}
}
\ No newline at end of file
}
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