moving builder call to avoid misaligning the comment

This commit is contained in:
Adam Brown 2021-10-14 13:14:36 +01:00
parent 2f0affa27e
commit eb70a81afd
1 changed files with 1 additions and 1 deletions

View File

@ -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))