Skip to content

Commit

Permalink
feat(local-notifications): Adding summary text to grouped notificatio…
Browse files Browse the repository at this point in the history
…ns (#296)

* [android] set notification group summary sub text from notification summary text

* fmt
  • Loading branch information
theproducer authored Mar 9, 2021
1 parent a806f22 commit f625bd2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ private void buildNotification(NotificationManagerCompat notificationManager, Lo
String group = localNotification.getGroup();
if (group != null) {
mBuilder.setGroup(group);
if (localNotification.isGroupSummary()) {
mBuilder.setSubText(localNotification.getSummaryText());
}
}

// make sure scheduled time is shown instead of display time
Expand Down

0 comments on commit f625bd2

Please sign in to comment.