Skip to content

Commit 9e9eebc

Browse files
committed
Use extension function
1 parent 18ce655 commit 9e9eebc

File tree

1 file changed

+0
-1
lines changed
  • app/src/main/kotlin/org/fossify/smsmessenger/extensions

1 file changed

+0
-1
lines changed

app/src/main/kotlin/org/fossify/smsmessenger/extensions/Context.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,6 @@ fun Context.deleteConversation(threadId: Long) {
694694

695695
if (config.customNotifications.contains(threadId.toString()) && isOreoPlus()) {
696696
config.removeCustomNotificationsByThreadId(threadId)
697-
val notificationManager = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
698697
notificationManager.deleteNotificationChannel(threadId.hashCode().toString())
699698
}
700699
}

0 commit comments

Comments
 (0)