pull/32/head
kunfei 5 years ago
parent 139e3b6b8c
commit d7864a7400
  1. 3
      app/src/main/java/io/legado/app/App.kt

@ -16,7 +16,6 @@ import io.legado.app.lib.theme.ThemeStore
import io.legado.app.utils.getCompatColor import io.legado.app.utils.getCompatColor
import io.legado.app.utils.getPrefBoolean import io.legado.app.utils.getPrefBoolean
import io.legado.app.utils.getPrefInt import io.legado.app.utils.getPrefInt
import java.util.*
@Suppress("DEPRECATION") @Suppress("DEPRECATION")
class App : Application() { class App : Application() {
@ -125,7 +124,7 @@ class App : Application() {
webChannel.setSound(null, null) webChannel.setSound(null, null)
//向notification manager 提交channel //向notification manager 提交channel
it.createNotificationChannels(Arrays.asList(downloadChannel, readAloudChannel, webChannel)) it.createNotificationChannels(listOf(downloadChannel, readAloudChannel, webChannel))
} }
} }
} }

Loading…
Cancel
Save