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.apply { height = context.getStatusBarHeight() }
ll_header.setPadding(
headerPaddingLeft,
headerPaddingTop,
headerPaddingRight,
headerPaddingBottom
headerPaddingLeft.dp,
headerPaddingTop.dp,
headerPaddingRight.dp,
headerPaddingBottom.dp
)
0
} else {

Loading…
Cancel
Save