From f007bdb39c9b88468c5de89ab51991fbe6776e4f Mon Sep 17 00:00:00 2001 From: sk Date: Tue, 27 Dec 2022 17:30:35 -0300 Subject: [PATCH] revert broken color attribute for notif icon closes #190 --- .../java/org/joinmastodon/android/PushNotificationReceiver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java b/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java index f37f70a99..d56356ded 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java +++ b/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java @@ -142,7 +142,7 @@ public class PushNotificationReceiver extends BroadcastReceiver{ .setShowWhen(true) .setCategory(Notification.CATEGORY_SOCIAL) .setAutoCancel(true) - .setColor(UiUtils.getThemeColor(context, R.attr.colorPrimary700)); + .setColor(context.getColor(R.color.shortcut_icon_background)); if(GlobalUserPreferences.showDifferentiatedPushNoticationIcons){ switch (pn.notificationType) { case FAVORITE -> builder.setSmallIcon(R.drawable.ic_fluent_star_24_filled);