moving builder call to avoid misaligning the comment
This commit is contained in:
parent
2f0affa27e
commit
eb70a81afd
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue