目录字体

This commit is contained in:
HapeLee
2025-11-15 01:56:04 +08:00
parent 5a559a876d
commit d2be7ca683
3 changed files with 9 additions and 2 deletions
@@ -350,12 +350,14 @@ class ChapterListAdapter(
isDur -> {
ivVolume.gone()
tvChapterName.textSize = 14f
tvChapterName.setTextColor(context.themeColor(androidx.appcompat.R.attr.colorPrimary))
tvChapterItem.setBackgroundColor(context.themeColor(com.google.android.material.R.attr.colorSurfaceContainer))
}
else -> {
ivVolume.gone()
tvChapterName.textSize = 14f
tvChapterName.setTextColor(context.themeColor(com.google.android.material.R.attr.colorOnSurface))
tvChapterItem.setBackgroundColor(context.themeColor(com.google.android.material.R.attr.colorSurface))
}