mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
use Dismiss instead of Mark as Read in notification action (#2083)
This commit is contained in:
committed by
GitHub
parent
1fcda9c2d2
commit
eb75aaae1a
@@ -791,6 +791,7 @@
|
||||
|
||||
<!-- notifications -->
|
||||
<string name="notify_n_messages_in_m_chats">%1$d new messages in %2$d chats</string>
|
||||
<string name="notify_dismiss">Dismiss</string>
|
||||
<string name="notify_mark_read">Mark Read</string>
|
||||
<string name="notify_reply_button">Reply</string>
|
||||
<string name="notify_new_message">New message</string>
|
||||
|
||||
@@ -428,7 +428,7 @@ public class NotificationCenter {
|
||||
PendingIntent markReadIntent = getMarkAsReadIntent(chatId, true);
|
||||
|
||||
NotificationCompat.Action markAsReadAction = new NotificationCompat.Action(R.drawable.check,
|
||||
context.getString(R.string.notify_mark_read),
|
||||
context.getString(R.string.notify_dismiss),
|
||||
markReadIntent);
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
|
||||
|
||||
Reference in New Issue
Block a user