mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-17 19:58:57 +03:00
moving builder call to avoid misaligning the comment
This commit is contained in:
parent
2f0affa27e
commit
eb70a81afd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue