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 ca6bb5ea9..480e8ecdc 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 @@ -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 {