Use extension function
This commit is contained in:
parent
18ce6557f7
commit
9e9eebc5ff
1 changed files with 0 additions and 1 deletions
|
|
@ -694,7 +694,6 @@ fun Context.deleteConversation(threadId: Long) {
|
||||||
|
|
||||||
if (config.customNotifications.contains(threadId.toString()) && isOreoPlus()) {
|
if (config.customNotifications.contains(threadId.toString()) && isOreoPlus()) {
|
||||||
config.removeCustomNotificationsByThreadId(threadId)
|
config.removeCustomNotificationsByThreadId(threadId)
|
||||||
val notificationManager = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
|
|
||||||
notificationManager.deleteNotificationChannel(threadId.hashCode().toString())
|
notificationManager.deleteNotificationChannel(threadId.hashCode().toString())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue