Fix notifications on android 8.0 (#814)
This commit is contained in:
@ -42,7 +42,7 @@ class SyncManager @Inject constructor(
|
||||
init {
|
||||
if (now().isHolidays) stopSyncWorker()
|
||||
|
||||
if (SDK_INT > O) {
|
||||
if (SDK_INT >= O) {
|
||||
channels.forEach { it.create() }
|
||||
notificationManager.deleteNotificationChannel("new_entries_channel")
|
||||
}
|
||||
|
Reference in New Issue
Block a user