From 3045fe03576bf8c04d8ca64c009a0d6b0170db9c Mon Sep 17 00:00:00 2001 From: Grishka Date: Mon, 25 Sep 2023 23:00:15 +0300 Subject: [PATCH] Probably need to set this too --- .../java/org/joinmastodon/android/PushNotificationReceiver.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java b/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java index 6cd78782e..c8f340fc0 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java +++ b/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java @@ -182,6 +182,8 @@ public class PushNotificationReceiver extends BroadcastReceiver{ List channels=Arrays.stream(PushNotification.Type.values()) .map(type->{ NotificationChannel channel=new NotificationChannel(accountID+"_"+type, context.getString(type.localizedName), NotificationManager.IMPORTANCE_DEFAULT); + channel.setLightColor(context.getColor(R.color.primary_700)); + channel.enableLights(true); channel.setGroup(accountID); return channel; })