forked from github/wulkanowy-mirror
Disable sound of upcoming lessons notification (fix) (#950)
This commit is contained in:
parent
c30f105be5
commit
6363c90e37
@ -44,6 +44,7 @@ class SyncManager @Inject constructor(
|
|||||||
|
|
||||||
if (SDK_INT >= O) {
|
if (SDK_INT >= O) {
|
||||||
channels.forEach { it.create() }
|
channels.forEach { it.create() }
|
||||||
|
notificationManager.deleteNotificationChannel("lesson_channel")
|
||||||
notificationManager.deleteNotificationChannel("new_entries_channel")
|
notificationManager.deleteNotificationChannel("new_entries_channel")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ class UpcomingLessonsChannel @Inject constructor(
|
|||||||
) : Channel {
|
) : Channel {
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
const val CHANNEL_ID = "lesson_channel"
|
const val CHANNEL_ID = "upcoming_lesson_channel"
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun create() {
|
override fun create() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user