mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-06-05 21:49:22 +02:00
Minor readability improvement
This commit is contained in:
@@ -152,7 +152,9 @@ class NotificationHelper(private val context: Context) {
|
|||||||
.setLegacyStreamType(AudioManager.STREAM_NOTIFICATION)
|
.setLegacyStreamType(AudioManager.STREAM_NOTIFICATION)
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
NotificationChannel(NOTIFICATION_CHANNEL, name, IMPORTANCE_HIGH).apply {
|
val id = NOTIFICATION_CHANNEL
|
||||||
|
val importance = IMPORTANCE_HIGH
|
||||||
|
NotificationChannel(id, name, importance).apply {
|
||||||
setBypassDnd(false)
|
setBypassDnd(false)
|
||||||
enableLights(true)
|
enableLights(true)
|
||||||
setSound(soundUri, audioAttributes)
|
setSound(soundUri, audioAttributes)
|
||||||
|
Reference in New Issue
Block a user