Use extension function

This commit is contained in:
Naveen
2024-01-17 18:20:20 +05:30
parent 18ce6557f7
commit 9e9eebc5ff

View File

@@ -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())
}
}