From eb70a81afd4a5f06503fb1692a939b58352b0fc2 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Thu, 14 Oct 2021 13:14:36 +0100 Subject: [PATCH] moving builder call to avoid misaligning the comment --- .../im/vector/app/features/notifications/NotificationUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vector/src/main/java/im/vector/app/features/notifications/NotificationUtils.kt b/vector/src/main/java/im/vector/app/features/notifications/NotificationUtils.kt index 774f3db2cf..92feb3d038 100755 --- a/vector/src/main/java/im/vector/app/features/notifications/NotificationUtils.kt +++ b/vector/src/main/java/im/vector/app/features/notifications/NotificationUtils.kt @@ -801,8 +801,8 @@ class NotificationUtils @Inject constructor(private val context: Context, val smallIcon = R.drawable.ic_status_bar return NotificationCompat.Builder(context, if (noisy) NOISY_NOTIFICATION_CHANNEL_ID else SILENT_NOTIFICATION_CHANNEL_ID) - // used in compat < N, after summary is built based on child notifications .setOnlyAlertOnce(true) + // used in compat < N, after summary is built based on child notifications .setWhen(lastMessageTimestamp) .setStyle(style) .setContentTitle(stringProvider.getString(R.string.app_name))