From b75c58fa0c066f3bd17ef5ba2c4310ca91e00d6e Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 20 Apr 2020 23:00:09 +0200 Subject: [PATCH] use the extended navigation bar height check at the video fragment too --- .../simplemobiletools/gallery/pro/fragments/VideoFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/VideoFragment.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/VideoFragment.kt index 76da0d990..b79337769 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/VideoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/VideoFragment.kt @@ -457,7 +457,7 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S private fun initTimeHolder() { var right = 0 - var bottom = context!!.navigationBarHeight + var bottom = if (context!!.navigationBarBottom) context!!.navigationBarHeight else 0 if (mConfig.bottomActions) { bottom += resources.getDimension(R.dimen.bottom_actions_height).toInt() }