Parcourir la source

优化ShortCuts显示 #108

HapeLee il y a 1 an
Parent
commit
deae2069a8

+ 1 - 1
app/src/main/java/io/legato/kazusa/service/AudioPlayService.kt

@@ -115,7 +115,7 @@ class AudioPlayService : BaseService(),
     private var upPlayProgressJob: Job? = null
     private var upPlayProgressJob: Job? = null
     private var playSpeed: Float = 1f
     private var playSpeed: Float = 1f
     private var cover: Bitmap =
     private var cover: Bitmap =
-        BitmapFactory.decodeResource(appCtx.resources, R.drawable.icon_read_book)
+        BitmapFactory.decodeResource(appCtx.resources, R.drawable.ic_launcher_foreground_m)
 
 
     override fun onCreate() {
     override fun onCreate() {
         super.onCreate()
         super.onCreate()

+ 1 - 1
app/src/main/java/io/legato/kazusa/service/BaseReadAloudService.kt

@@ -125,7 +125,7 @@ abstract class BaseReadAloudService : BaseService(),
     private var dsJob: Job? = null
     private var dsJob: Job? = null
     private var upNotificationJob: Coroutine<*>? = null
     private var upNotificationJob: Coroutine<*>? = null
     private var cover: Bitmap =
     private var cover: Bitmap =
-        BitmapFactory.decodeResource(appCtx.resources, R.drawable.icon_read_book)
+        BitmapFactory.decodeResource(appCtx.resources, R.drawable.ic_launcher_foreground_m)
     var pageChanged = false
     var pageChanged = false
     private var toLast = false
     private var toLast = false
     var paragraphStartPos = 0
     var paragraphStartPos = 0

BIN
app/src/main/res/drawable/icon_read_book.png