From 53ee79799a7d51b3f0f43935ff36682083c11e1e Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Wed, 10 May 2023 14:28:14 -0300 Subject: [PATCH] fix(Android): Wrong icon on push reply fail (#5055) --- .../src/play/java/chat/rocket/reactnative/ReplyBroadcast.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/app/src/play/java/chat/rocket/reactnative/ReplyBroadcast.java b/android/app/src/play/java/chat/rocket/reactnative/ReplyBroadcast.java index b3e5c43e8..ef1579b51 100644 --- a/android/app/src/play/java/chat/rocket/reactnative/ReplyBroadcast.java +++ b/android/app/src/play/java/chat/rocket/reactnative/ReplyBroadcast.java @@ -138,7 +138,7 @@ public class ReplyBroadcast extends BroadcastReceiver { final Resources res = mContext.getResources(); String packageName = mContext.getPackageName(); - int smallIconResId = res.getIdentifier("ic_notification", "mipmap", packageName); + int smallIconResId = res.getIdentifier("ic_notification", "drawable", packageName); NotificationChannel channel = new NotificationChannel(CHANNEL_ID, CHANNEL_ID, NotificationManager.IMPORTANCE_LOW); notificationManager.createNotificationChannel(channel);