feat: 优化代码

pull/120/head
kunfei 5 years ago
parent 37bdfee195
commit 98b8847d24
  1. 2
      app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt

@ -52,13 +52,13 @@ class ContentView(context: Context) : FrameLayout(context) {
ll_header.gone() ll_header.gone()
page_panel.setPadding(0, context.statusBarHeight, 0, 0) page_panel.setPadding(0, context.statusBarHeight, 0, 0)
} }
content_text_view.upVisibleRect()
ll_footer.setPadding( ll_footer.setPadding(
footerPaddingLeft.dp, footerPaddingLeft.dp,
footerPaddingTop.dp, footerPaddingTop.dp,
footerPaddingRight.dp, footerPaddingRight.dp,
footerPaddingBottom.dp footerPaddingBottom.dp
) )
content_text_view.upVisibleRect()
durConfig.textColor().let { durConfig.textColor().let {
tv_top_left.setTextColor(it) tv_top_left.setTextColor(it)
tv_top_right.setTextColor(it) tv_top_right.setTextColor(it)

Loading…
Cancel
Save