Commit b18b8ab1 authored by Frank Tobin's avatar Frank Tobin
Browse files

fix notification channel for DNS Rule Import finish

parent ce9d2eaa
...@@ -130,7 +130,7 @@ class RuleImportService : IntentService("RuleImportService") { ...@@ -130,7 +130,7 @@ class RuleImportService : IntentService("RuleImportService") {
} }
private fun showSuccessNotification() { 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.setSmallIcon(R.drawable.ic_mainnotification)
successNotification.setAutoCancel(true) successNotification.setAutoCancel(true)
successNotification.setContentTitle(getString(R.string.notification_ruleimportfinished_title)) successNotification.setContentTitle(getString(R.string.notification_ruleimportfinished_title))
...@@ -438,4 +438,4 @@ class RuleImportService : IntentService("RuleImportService") { ...@@ -438,4 +438,4 @@ class RuleImportService : IntentService("RuleImportService") {
override fun onBind(intent: Intent?): IBinder? { override fun onBind(intent: Intent?): IBinder? {
return null return null
} }
} }
\ No newline at end of file
Supports Markdown
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