Skip to content

Commit

Permalink
Specify LED color for notifications
Browse files Browse the repository at this point in the history
closes sk22#695
  • Loading branch information
grishka committed Sep 25, 2023
1 parent 27ad0c6 commit 183b39b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ private void notify(Context context, PushNotification pn, String accountID, org.
.setShowWhen(true)
.setCategory(Notification.CATEGORY_SOCIAL)
.setAutoCancel(true)
.setLights(context.getColor(R.color.primary_700), 500, 1000)
.setColor(context.getColor(R.color.primary_700));
if(avatar!=null){
builder.setLargeIcon(UiUtils.getBitmapFromDrawable(avatar));
Expand Down

0 comments on commit 183b39b

Please sign in to comment.