mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
hide system ui at opening fullscreen media if set so
This commit is contained in:
@@ -115,6 +115,9 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
||||
|
||||
if (config.darkBackground)
|
||||
view_pager.background = ColorDrawable(Color.BLACK)
|
||||
|
||||
if (config.hideSystemUI)
|
||||
fragmentClicked()
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
|
Reference in New Issue
Block a user