Skip to content

Commit

Permalink
Disable notification sound
Browse files Browse the repository at this point in the history
  • Loading branch information
atavism committed Oct 3, 2023
1 parent 305e4fa commit 431ede3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ class NotificationHelper(
private fun setChannelOptions(notificationChannel: NotificationChannel) {
notificationChannel.enableLights(true)
notificationChannel.lightColor = Color.GREEN
notificationChannel.enableVibration(false)
notificationChannel.enableVibration(true)
notificationChannel.setSound(null, null)
manager.createNotificationChannel(notificationChannel)
}

Expand Down

0 comments on commit 431ede3

Please sign in to comment.