pull/517/head
gedoor 4 years ago
parent c15c6237ef
commit f9d5fe8922
  1. 17
      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,

Loading…
Cancel
Save