hide system ui at opening fullscreen media if set so

This commit is contained in:
tibbi 2017-06-26 23:03:10 +02:00
parent c42be23acc
commit bbdf72b52e

View file

@ -115,6 +115,9 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
if (config.darkBackground) if (config.darkBackground)
view_pager.background = ColorDrawable(Color.BLACK) view_pager.background = ColorDrawable(Color.BLACK)
if (config.hideSystemUI)
fragmentClicked()
} }
override fun onDestroy() { override fun onDestroy() {