small mistake

This commit is contained in:
Benoit Marty 2020-02-26 08:49:17 +01:00
parent 3987a68a9a
commit 06e0af9a5b

View file

@ -423,9 +423,9 @@ class NotificationUtils @Inject constructor(private val context: Context,
// 'importance' which is set in the NotificationChannel. The integers representing
// 'priority' are different from 'importance', so make sure you don't mix them.
.apply {
priority = NotificationCompat.PRIORITY_DEFAULT
if (roomInfo.shouldBing) {
// Compat
priority = NotificationCompat.PRIORITY_DEFAULT
vectorPreferences.getNotificationRingTone()?.let {
setSound(it)
}