diff --git a/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt b/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt index 2d179b60e..850917570 100644 --- a/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt @@ -126,9 +126,9 @@ class BookInfoActivity : VMBaseActivity(R.layout.activity_boo private fun showChapter(chapterList: List) { viewModel.bookData.value?.let { if (it.durChapterIndex < chapterList.size) { - tv_toc.text = chapterList[it.durChapterIndex].title + tv_toc.text = getString(R.string.toc_s, chapterList[it.durChapterIndex].title) } else { - tv_toc.text = chapterList.last().title + tv_toc.text = getString(R.string.toc_s, chapterList.last().title) } } upLoading(false) diff --git a/app/src/main/res/layout/activity_book_info.xml b/app/src/main/res/layout/activity_book_info.xml index 5df2e2de4..6fa8db584 100644 --- a/app/src/main/res/layout/activity_book_info.xml +++ b/app/src/main/res/layout/activity_book_info.xml @@ -76,6 +76,7 @@ android:paddingLeft="5dp" android:paddingRight="5dp" android:text="@string/change_origin" + android:textSize="16sp" app:abt_radius="2dp" /> @@ -97,7 +98,7 @@ android:paddingRight="3dp" android:singleLine="true" android:text="@string/app_name" - android:textSize="13sp" + android:textSize="14sp" app:abt_radius="2dp" />