Disable sound of upcoming lessons notification (fix)
MODIFY
app/src/main/java/io/github/wulkanowy/services/sync/SyncManager.kt
app/src/main/java/io/github/wulkanowy/services/sync/SyncManager.kt
@@ -44,6 +44,7 @@ class SyncManager @Inject constructor(
if (SDK_INT >= O) {
channels.forEach { it.create() }
+ notificationManager.deleteNotificationChannel("lesson_channel")
notificationManager.deleteNotificationChannel("new_entries_channel")
}

MODIFY
app/src/main/java/io/github/wulkanowy/services/sync/channels/UpcomingLessonsChannel.kt
app/src/main/java/io/github/wulkanowy/services/sync/channels/UpcomingLessonsChannel.kt
@@ -17,7 +17,7 @@ class UpcomingLessonsChannel @Inject constructor(
) : Channel {
companion object {
- const val CHANNEL_ID = "lesson_channel"
+ const val CHANNEL_ID = "upcoming_lesson_channel"
}
override fun create() {

Disable sound of upcoming lessons notification (fix) (#950)