mirror of
https://github.com/FossifyOrg/Messages.git
synced 2026-06-17 21:11:05 -04:00
Use extension function
This commit is contained in:
@@ -694,7 +694,6 @@ fun Context.deleteConversation(threadId: Long) {
|
||||
|
||||
if (config.customNotifications.contains(threadId.toString()) && isOreoPlus()) {
|
||||
config.removeCustomNotificationsByThreadId(threadId)
|
||||
val notificationManager = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
|
||||
notificationManager.deleteNotificationChannel(threadId.hashCode().toString())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user