mirror of
https://github.com/wulkanowy/wulkanowy.git
synced 2025-01-31 17:42:44 +01:00
Fix notifications on android 8.0 (#814)
This commit is contained in:
parent
78a90591fd
commit
6cd1877af7
@ -122,7 +122,7 @@ configurations.all {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "io.github.wulkanowy:sdk:445905b"
|
||||
implementation "io.github.wulkanowy:sdk:46619e3"
|
||||
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
||||
implementation "androidx.core:core-ktx:1.2.0"
|
||||
|
@ -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")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user