mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 08:18:00 +01:00
toggle fullscreen mode on click on all devices, not just chromebooks
This commit is contained in:
parent
35de514ee3
commit
59be8838c4
1 changed files with 1 additions and 3 deletions
|
@ -1096,10 +1096,8 @@ 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 {
|
||||||
if (mIsSlideshowActive) {
|
if (mIsSlideshowActive) {
|
||||||
|
|
Loading…
Reference in a new issue