Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
gedoor committed Jul 8, 2023
1 parent 5f90058 commit 94d6a08
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ abstract class BaseReadAloudService : BaseService(),
internal var pageIndex = 0
private var needResumeOnAudioFocusGain = false
private var dsJob: Job? = null
private var cover: Bitmap = BitmapFactory.decodeResource(resources, R.drawable.icon_read_book)
private var cover: Bitmap =
BitmapFactory.decodeResource(appCtx.resources, R.drawable.icon_read_book)
var pageChanged = false

private val broadcastReceiver = object : BroadcastReceiver() {
Expand Down

0 comments on commit 94d6a08

Please sign in to comment.