revert broken color attribute for notif icon

closes #190
This commit is contained in:
sk 2022-12-27 21:30:35 +01:00
parent b564a297ab
commit 536d6cf63e
1 changed files with 1 additions and 1 deletions

View File

@ -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.primary_700));
switch (pn.notificationType) {
case FAVORITE -> builder.setSmallIcon(R.drawable.ic_fluent_star_24_filled);
case REBLOG -> builder.setSmallIcon(R.drawable.ic_fluent_arrow_repeat_all_24_filled);