feat: 优化代码

pull/182/head
kunfei 5 years ago
parent b976d15d69
commit 01c4d2961c
  1. 2
      app/src/main/java/io/legado/app/ui/book/chapterlist/ChapterListFragment.kt

@ -77,7 +77,7 @@ class ChapterListFragment : VMBaseFragment<ChapterListViewModel>(R.layout.fragme
book?.let { book?.let {
durChapterIndex = it.durChapterIndex durChapterIndex = it.durChapterIndex
tv_current_chapter_info.text = tv_current_chapter_info.text =
"${it.durChapterTitle}(${it.durChapterIndex}/${it.totalChapterNum})" "${it.durChapterTitle}(${it.durChapterIndex + 1}/${it.totalChapterNum})"
initCacheFileNames(it) initCacheFileNames(it)
} }
} }

Loading…
Cancel
Save