parent
b564a297ab
commit
536d6cf63e
|
@ -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.primary_700));
|
||||||
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);
|
||||||
case REBLOG -> builder.setSmallIcon(R.drawable.ic_fluent_arrow_repeat_all_24_filled);
|
case REBLOG -> builder.setSmallIcon(R.drawable.ic_fluent_arrow_repeat_all_24_filled);
|
||||||
|
|
Loading…
Reference in New Issue