feat: 优化代码

pull/105/head
kunfei 5 years ago
parent 51192d42c7
commit fb1d5dac97
  1. 8
      app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt

@ -58,10 +58,10 @@ class ContentView : FrameLayout {
ll_header.layoutParams = ll_header.layoutParams =
ll_header.layoutParams.apply { height = context.getStatusBarHeight() } ll_header.layoutParams.apply { height = context.getStatusBarHeight() }
ll_header.setPadding( ll_header.setPadding(
headerPaddingLeft, headerPaddingLeft.dp,
headerPaddingTop, headerPaddingTop.dp,
headerPaddingRight, headerPaddingRight.dp,
headerPaddingBottom headerPaddingBottom.dp
) )
0 0
} else { } else {

Loading…
Cancel
Save