1
0

Fix notifications on android 8.0 (#814)

This commit is contained in:
Mikołaj Pich
2020-05-20 12:34:29 +02:00
committed by GitHub
parent 78a90591fd
commit 6cd1877af7
2 changed files with 2 additions and 2 deletions

View File

@ -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")
}