mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-01-25 13:38:59 +01:00
Merge pull request #272 from Aga-C/fix-mark-as-read-notification
Fixed disabled mark as read in notification
This commit is contained in:
commit
76e8381080
@ -717,7 +717,7 @@ fun Context.showMessageNotification(address: String, body: String, threadId: Lon
|
||||
putExtra(THREAD_ID, threadId)
|
||||
}
|
||||
|
||||
val markAsReadPendingIntent = PendingIntent.getBroadcast(this, 0, markAsReadIntent, PendingIntent.FLAG_CANCEL_CURRENT)
|
||||
val markAsReadPendingIntent = PendingIntent.getBroadcast(this, threadId.hashCode(), markAsReadIntent, PendingIntent.FLAG_UPDATE_CURRENT)
|
||||
var replyAction: NotificationCompat.Action? = null
|
||||
|
||||
if (isNougatPlus()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user