revert broken color attribute for notif icon

closes #190
This commit is contained in:
sk
2022-12-27 17:30:35 -03:00
committed by LucasGGamerM
parent a0cbfe9a36
commit f007bdb39c

View File

@@ -142,7 +142,7 @@ public class PushNotificationReceiver extends BroadcastReceiver{
.setShowWhen(true) .setShowWhen(true)
.setCategory(Notification.CATEGORY_SOCIAL) .setCategory(Notification.CATEGORY_SOCIAL)
.setAutoCancel(true) .setAutoCancel(true)
.setColor(UiUtils.getThemeColor(context, R.attr.colorPrimary700)); .setColor(context.getColor(R.color.shortcut_icon_background));
if(GlobalUserPreferences.showDifferentiatedPushNoticationIcons){ if(GlobalUserPreferences.showDifferentiatedPushNoticationIcons){
switch (pn.notificationType) { switch (pn.notificationType) {
case FAVORITE -> builder.setSmallIcon(R.drawable.ic_fluent_star_24_filled); case FAVORITE -> builder.setSmallIcon(R.drawable.ic_fluent_star_24_filled);