pull/51/head
kunfei 5 years ago
parent 0ee98d6c93
commit 315d887d6b
  1. 2
      app/src/main/java/io/legado/app/ui/book/read/ReadMenu.kt

@ -198,7 +198,7 @@ class ReadMenu : FrameLayout {
vw_menu_bg.onClick { runMenuOut() } vw_menu_bg.onClick { runMenuOut() }
vwNavigationBar.layoutParams = vwNavigationBar.layoutParams.apply { vwNavigationBar.layoutParams = vwNavigationBar.layoutParams.apply {
height = height =
if (context.getPrefBoolean(PreferKey.hideStatusBar) if (context.getPrefBoolean(PreferKey.hideNavigationBar)
&& Help.isNavigationBarExist(activity) && Help.isNavigationBarExist(activity)
) context.getNavigationBarHeight() ) context.getNavigationBarHeight()
else 0 else 0

Loading…
Cancel
Save