mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-01-08 06:36:39 +01:00
Inverting notification shortcuts
This commit is contained in:
parent
4e9eee6bca
commit
7097af70a1
@ -627,12 +627,11 @@ fun Context.showReceivedMessageNotification(address: String, body: String, threa
|
||||
.setCategory(Notification.CATEGORY_MESSAGE)
|
||||
.setAutoCancel(true)
|
||||
.setSound(soundUri, AudioManager.STREAM_NOTIFICATION)
|
||||
.addAction(R.drawable.ic_check_vector, getString(R.string.mark_as_read), markAsReadPendingIntent)
|
||||
.setChannelId(NOTIFICATION_CHANNEL)
|
||||
|
||||
if (replyAction != null) {
|
||||
builder.addAction(replyAction)
|
||||
}
|
||||
builder.addAction(R.drawable.ic_check_vector, getString(R.string.mark_as_read), markAsReadPendingIntent)
|
||||
.setChannelId(NOTIFICATION_CHANNEL)
|
||||
|
||||
notificationManager.notify(threadID, builder.build())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user