toggle fullscreen mode on click on all devices, not just chromebooks

This commit is contained in:
tibbi 2019-11-10 10:39:45 +01:00
parent 35de514ee3
commit 59be8838c4

View file

@ -1096,9 +1096,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
override fun fragmentClicked() { override fun fragmentClicked() {
mIsFullScreen = !mIsFullScreen mIsFullScreen = !mIsFullScreen
checkSystemUI() checkSystemUI()
if (isChromebook()) { fullscreenToggled()
fullscreenToggled()
}
} }
override fun videoEnded(): Boolean { override fun videoEnded(): Boolean {