mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 18:35:40 +03:00
Tiny formatting
This commit is contained in:
parent
2bd2cbf84e
commit
be67836a3e
1 changed files with 9 additions and 5 deletions
|
@ -67,8 +67,7 @@ class SummaryGroupMessageCreator @Inject constructor(
|
|||
summaryInboxStyle.setBigContentTitle(sumTitle)
|
||||
// TODO get latest event?
|
||||
.setSummaryText(stringProvider.getQuantityString(R.plurals.notification_unread_notified_messages, nbEvents, nbEvents))
|
||||
return if (useCompleteNotificationFormat
|
||||
) {
|
||||
return if (useCompleteNotificationFormat) {
|
||||
notificationUtils.buildSummaryListNotification(
|
||||
summaryInboxStyle,
|
||||
sumTitle,
|
||||
|
@ -76,9 +75,14 @@ class SummaryGroupMessageCreator @Inject constructor(
|
|||
lastMessageTimestamp = lastMessageTimestamp
|
||||
)
|
||||
} else {
|
||||
processSimpleGroupSummary(summaryIsNoisy, messageCount,
|
||||
simpleNotifications.size, invitationNotifications.size,
|
||||
roomNotifications.size, lastMessageTimestamp)
|
||||
processSimpleGroupSummary(
|
||||
summaryIsNoisy,
|
||||
messageCount,
|
||||
simpleNotifications.size,
|
||||
invitationNotifications.size,
|
||||
roomNotifications.size,
|
||||
lastMessageTimestamp
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue