forked from github/wulkanowy-mirror
Add option to make upcoming lesson notification not persistent (#1537)
This commit is contained in:

committed by
GitHub

parent
e10e530dee
commit
5bc54c12f1
@ -42,7 +42,7 @@ class NotificationsPresenter @Inject constructor(
|
||||
|
||||
preferencesRepository.apply {
|
||||
when (key) {
|
||||
isUpcomingLessonsNotificationsEnableKey -> {
|
||||
isUpcomingLessonsNotificationsEnableKey, isUpcomingLessonsNotificationsPersistentKey -> {
|
||||
if (!isUpcomingLessonsNotificationsEnable) {
|
||||
timetableNotificationHelper.cancelNotification()
|
||||
}
|
||||
|
Reference in New Issue
Block a user