pull/32/head
kunfei 5 years ago
parent c9099b5b5a
commit 337d393f71
  1. 6
      app/src/main/java/io/legado/app/ui/readbook/ReadMenu.kt

@ -199,13 +199,13 @@ class ReadMenu : FrameLayout {
override fun onAnimationEnd(animation: Animation) {
vw_menu_bg.onClick { runMenuOut() }
val lp = vwNavigationBar.layoutParams
lp.height =
vwNavigationBar.layoutParams = vwNavigationBar.layoutParams.apply {
height =
if (context.getPrefBoolean("hideNavigationBar")
&& Help.isNavigationBarExist(activity)
) context.getNavigationBarHeight()
else 0
vwNavigationBar.layoutParams = lp
}
}
override fun onAnimationRepeat(animation: Animation) {

Loading…
Cancel
Save