use the extended navigation bar height check at the video fragment too

This commit is contained in:
tibbi 2020-04-20 23:00:09 +02:00
parent 7518d33574
commit b75c58fa0c

View file

@ -457,7 +457,7 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S
private fun initTimeHolder() { private fun initTimeHolder() {
var right = 0 var right = 0
var bottom = context!!.navigationBarHeight var bottom = if (context!!.navigationBarBottom) context!!.navigationBarHeight else 0
if (mConfig.bottomActions) { if (mConfig.bottomActions) {
bottom += resources.getDimension(R.dimen.bottom_actions_height).toInt() bottom += resources.getDimension(R.dimen.bottom_actions_height).toInt()
} }