edit App.kt

pull/840/head
gedoor 4 years ago
parent 0a403259c8
commit 52331d5412
  1. 6
      app/src/main/java/io/legado/app/App.kt

@ -57,7 +57,7 @@ class App : MultiDexApplication() {
val downloadChannel = NotificationChannel( val downloadChannel = NotificationChannel(
channelIdDownload, channelIdDownload,
getString(R.string.action_download), getString(R.string.action_download),
NotificationManager.IMPORTANCE_LOW NotificationManager.IMPORTANCE_DEFAULT
).apply { ).apply {
enableLights(false) enableLights(false)
enableVibration(false) enableVibration(false)
@ -67,7 +67,7 @@ class App : MultiDexApplication() {
val readAloudChannel = NotificationChannel( val readAloudChannel = NotificationChannel(
channelIdReadAloud, channelIdReadAloud,
getString(R.string.read_aloud), getString(R.string.read_aloud),
NotificationManager.IMPORTANCE_LOW NotificationManager.IMPORTANCE_DEFAULT
).apply { ).apply {
enableLights(false) enableLights(false)
enableVibration(false) enableVibration(false)
@ -77,7 +77,7 @@ class App : MultiDexApplication() {
val webChannel = NotificationChannel( val webChannel = NotificationChannel(
channelIdWeb, channelIdWeb,
getString(R.string.web_service), getString(R.string.web_service),
NotificationManager.IMPORTANCE_LOW NotificationManager.IMPORTANCE_DEFAULT
).apply { ).apply {
enableLights(false) enableLights(false)
enableVibration(false) enableVibration(false)

Loading…
Cancel
Save