From a4f4c807434ff9b8f5316280eedf3afec46782e0 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sun, 4 Mar 2018 13:51:27 +0100 Subject: [PATCH] fixed 'mark read' icon on android ~4 devices --- .../services/NotificationService.java | 2 +- .../res/drawable-hdpi/ic_drafts_white_24dp.png | Bin 0 -> 392 bytes .../res/drawable-mdpi/ic_drafts_white_24dp.png | Bin 0 -> 284 bytes .../res/drawable-xhdpi/ic_drafts_white_24dp.png | Bin 0 -> 509 bytes .../res/drawable-xxhdpi/ic_drafts_white_24dp.png | Bin 0 -> 717 bytes .../res/drawable-xxxhdpi/ic_drafts_white_24dp.png | Bin 0 -> 953 bytes 6 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 src/main/res/drawable-hdpi/ic_drafts_white_24dp.png create mode 100644 src/main/res/drawable-mdpi/ic_drafts_white_24dp.png create mode 100644 src/main/res/drawable-xhdpi/ic_drafts_white_24dp.png create mode 100644 src/main/res/drawable-xxhdpi/ic_drafts_white_24dp.png create mode 100644 src/main/res/drawable-xxxhdpi/ic_drafts_white_24dp.png diff --git a/src/main/java/eu/siacs/conversations/services/NotificationService.java b/src/main/java/eu/siacs/conversations/services/NotificationService.java index e793ed021..d7303c5e0 100644 --- a/src/main/java/eu/siacs/conversations/services/NotificationService.java +++ b/src/main/java/eu/siacs/conversations/services/NotificationService.java @@ -396,7 +396,7 @@ public class NotificationService { RemoteInput remoteInput = new RemoteInput.Builder("text_reply").setLabel(UIHelper.getMessageHint(mXmppConnectionService, conversation)).build(); PendingIntent markAsReadPendingIntent = createReadPendingIntent(conversation); NotificationCompat.Action markReadAction = new NotificationCompat.Action.Builder( - R.drawable.ic_send_text_offline, + R.drawable.ic_drafts_white_24dp, mXmppConnectionService.getString(R.string.mark_as_read), markAsReadPendingIntent).build(); String replyLabel = mXmppConnectionService.getString(R.string.reply); diff --git a/src/main/res/drawable-hdpi/ic_drafts_white_24dp.png b/src/main/res/drawable-hdpi/ic_drafts_white_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..39e10bd5d0ad9d5ad08329bfb567d5b3c4424003 GIT binary patch literal 392 zcmV;30eAk1P)Fwi%PKPA-TyLN_^!piq@bC*eIA@ANs>Im=&utYwv%fynbjvRQBMX{! zpbG|o4@JPh`G13sS_XV~-CWTPtAN*zRD<@p=MUI$UsteQ*8>~ix4ZV1LvybA26*F` z5a+nJfT63?p;O)iKD#JP>5?yicTS8$dpwnc%x!IG7GW^WhTLFg~0A?YKdFNz!h0000@ zHaf*(zMtLO`_$<@*}u%Z^Sn7(T6$Db*8v@MmES?hh6mhP&bvp`y3!!9;1X@SMrC

h}BQt$=5)Cb{q2P9bl0000}enP&kYR#uZgDBC79Y0zB|Z#g|c)miaJ?=q%F9soSE z`tLPt2J!<~an(ja&}UK|G~e&+0L&USY8J8s`EI2HB(1*Yfkp>N++P4{@?13rrscV* z7$}*S*S;ynKu}Uv)$XdM6onYbwKWBFfDZ5nG8{1tt;0L#00000NkvXXu0mjf^$ypa literal 0 HcmV?d00001 diff --git a/src/main/res/drawable-xxhdpi/ic_drafts_white_24dp.png b/src/main/res/drawable-xxhdpi/ic_drafts_white_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..841a356e3aee0c410835bdc851291a9b5babc463 GIT binary patch literal 717 zcmV;;0y6!HP)7R@(yqMo+ zl>QXDi_%UKfF$iig9Vk)$Qap;(MU;9pnBetuQ$~B4_eDT=CCTmUDo&qDx-}F3N=A1 zWqyG6GlJ|h2RO(VWFOh*EvT9|tdAY2Jljb>vQdt^2dbeP**GUDMOmzrQ;Z{f&31iI1-HqNTZ#@=pbBgy zoutSu%}rK02ZdO>voW zl!Gnd3e(6Q6SD^@&-?j*RG~Dsk^hlRafwJF&?ZKZ4YC`B{`NAAY*@aNeB4ju_LDQ> z1a(%%S$>n-5D{z8dGXJ_MFq;`t>z9HvTL#i4X{`@H7Ji(OAm|nSc8%*bRXsEN_fOV z6V{;Yo)PnmQ^j)@o3#gmNm?j%9TTFB1lR@1`l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