hide system ui at opening fullscreen media if set so
This commit is contained in:
parent
c42be23acc
commit
bbdf72b52e
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue