pull/1319/head
gedoor 3 years ago
parent 846ae68e6f
commit e8f47966c9
  1. 2
      app/src/main/java/io/legado/app/ui/book/read/ReadMenu.kt

@ -248,7 +248,7 @@ class ReadMenu @JvmOverloads constructor(
binding.vwMenuBg.setOnClickListener { runMenuOut() } binding.vwMenuBg.setOnClickListener { runMenuOut() }
binding.vwNavigationBar.run { binding.vwNavigationBar.run {
layoutParams = layoutParams.apply { layoutParams = layoutParams.apply {
height = activity!!.navigationBarHeight height = activity?.navigationBarHeight ?: 0
} }
} }
if (!LocalConfig.readMenuHelpVersionIsLast) { if (!LocalConfig.readMenuHelpVersionIsLast) {

Loading…
Cancel
Save