From 59be8838c4300493f855b13e544b21936703caa3 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 10 Nov 2019 10:39:45 +0100 Subject: [PATCH] toggle fullscreen mode on click on all devices, not just chromebooks --- .../gallery/pro/activities/ViewPagerActivity.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt index f0eec2073..f521b1f99 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt @@ -1096,9 +1096,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View override fun fragmentClicked() { mIsFullScreen = !mIsFullScreen checkSystemUI() - if (isChromebook()) { - fullscreenToggled() - } + fullscreenToggled() } override fun videoEnded(): Boolean {