Specify LED color for notifications

closes #695
This commit is contained in:
Grishka 2023-09-25 16:58:08 -03:00 committed by LucasGGamerM
parent 22b1cd0d0b
commit 5a35be0ebd
1 changed files with 1 additions and 0 deletions

View File

@ -211,6 +211,7 @@ public class PushNotificationReceiver extends BroadcastReceiver{
.setShowWhen(true) .setShowWhen(true)
.setCategory(Notification.CATEGORY_SOCIAL) .setCategory(Notification.CATEGORY_SOCIAL)
.setAutoCancel(true) .setAutoCancel(true)
.setLights(context.getColor(R.color.primary_700), 500, 1000)
.setColor(context.getColor(R.color.shortcut_icon_background)); .setColor(context.getColor(R.color.shortcut_icon_background));
if (!GlobalUserPreferences.uniformNotificationIcon) { if (!GlobalUserPreferences.uniformNotificationIcon) {