From facceae2a893d6f9669d035323ee38698ae311fe Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Sun, 25 Sep 2022 23:53:15 +1300 Subject: [PATCH] Disable sound on complete notification for timers Closes #55 --- android/app/src/main/java/com/massive/TimerService.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/android/app/src/main/java/com/massive/TimerService.kt b/android/app/src/main/java/com/massive/TimerService.kt index ac8127f..8df7e9d 100644 --- a/android/app/src/main/java/com/massive/TimerService.kt +++ b/android/app/src/main/java/com/massive/TimerService.kt @@ -152,6 +152,7 @@ class TimerService() : Service() { notificationManager.createNotificationChannel(alarmsChannel) val timersChannel = NotificationChannel(CHANNEL_ID_PENDING, CHANNEL_ID_PENDING, IMPORTANCE_LOW) + timersChannel.setSound(null, null) timersChannel.description = "Progress on rest timers." notificationManager.createNotificationChannel(timersChannel) return notificationManager