pull/47/head
kunfei 5 years ago
parent 973a5ea163
commit b08d7b8752
  1. 1
      app/src/main/java/io/legado/app/ui/audio/AudioPlayViewModel.kt

@ -39,6 +39,7 @@ class AudioPlayViewModel(application: Application) : BaseViewModel(application)
} }
book?.let { book -> book?.let { book ->
titleData.postValue(book.name) titleData.postValue(book.name)
coverData.postValue(book.getDisplayCover())
durChapterIndex = book.durChapterIndex durChapterIndex = book.durChapterIndex
durPageIndex = book.durChapterPos durPageIndex = book.durChapterPos
isLocalBook = book.origin == BookType.local isLocalBook = book.origin == BookType.local

Loading…
Cancel
Save