|
|
|
@ -11,7 +11,6 @@ import android.widget.FrameLayout |
|
|
|
|
import android.widget.SeekBar |
|
|
|
|
import androidx.core.view.isGone |
|
|
|
|
import androidx.core.view.isVisible |
|
|
|
|
import com.zackratos.ultimatebarx.ultimatebarx.navigationBarHeight |
|
|
|
|
import io.legado.app.R |
|
|
|
|
import io.legado.app.constant.PreferKey |
|
|
|
|
import io.legado.app.databinding.ViewReadMenuBinding |
|
|
|
@ -247,10 +246,8 @@ class ReadMenu @JvmOverloads constructor( |
|
|
|
|
|
|
|
|
|
override fun onAnimationEnd(animation: Animation) { |
|
|
|
|
binding.vwMenuBg.setOnClickListener { runMenuOut() } |
|
|
|
|
binding.vwNavigationBar.run { |
|
|
|
|
layoutParams = layoutParams.apply { |
|
|
|
|
height = navigationBarHeight |
|
|
|
|
} |
|
|
|
|
binding.vwNavigationBar.layoutParams = binding.vwNavigationBar.layoutParams.apply { |
|
|
|
|
height = activity!!.navigationBarHeight |
|
|
|
|
} |
|
|
|
|
if (!LocalConfig.readMenuHelpVersionIsLast) { |
|
|
|
|
callBack.showReadMenuHelp() |
|
|
|
|