diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt b/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt index bc4f8d0e3..278b1bfea 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt @@ -64,14 +64,15 @@ class ContentView(context: Context) : FrameLayout(context) { tv_footer_left.typeface = ChapterProvider.typeface tv_footer_middle.typeface = ChapterProvider.typeface tv_footer_right.typeface = ChapterProvider.typeface - bv_header_left.setColor(textColor) - tv_header_left.setColor(textColor) - tv_header_middle.setColor(textColor) - tv_header_right.setColor(textColor) - bv_footer_left.setColor(textColor) - tv_footer_left.setColor(textColor) - tv_footer_middle.setColor(textColor) - tv_footer_right.setColor(textColor) + val tipColor = if (ReadTipConfig.tipColor == 0) textColor else ReadTipConfig.tipColor + bv_header_left.setColor(tipColor) + tv_header_left.setColor(tipColor) + tv_header_middle.setColor(tipColor) + tv_header_right.setColor(tipColor) + bv_footer_left.setColor(tipColor) + tv_footer_left.setColor(tipColor) + tv_footer_middle.setColor(tipColor) + tv_footer_right.setColor(tipColor) upStatusBar() ll_header.setPadding( headerPaddingLeft.dp,