diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/PhotoVideoActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/PhotoVideoActivity.kt index f73ceed32..afbc083a7 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/PhotoVideoActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/PhotoVideoActivity.kt @@ -17,7 +17,7 @@ import com.simplemobiletools.gallery.models.Medium import java.io.File open class PhotoVideoActivity : SimpleActivity(), ViewPagerFragment.FragmentClickListener { - private var mIsFullScreen = true + private var mIsFullScreen = false lateinit var mUri: Uri lateinit var mFragment: ViewPagerFragment @@ -42,7 +42,6 @@ open class PhotoVideoActivity : SimpleActivity(), ViewPagerFragment.FragmentClic mFragment.arguments = bundle supportFragmentManager.beginTransaction().replace(R.id.fragment_holder, mFragment).commit() } - hideSystemUI() if (mUri.scheme == "content") { val proj = arrayOf(MediaStore.Images.Media.TITLE) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt index 65f536492..0ebe28067 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt @@ -81,10 +81,9 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View } mPos = 0 - mIsFullScreen = true + mIsFullScreen = false mToBeDeleted = "" mBeingDeleted = "" - hideSystemUI() scanPath(mPath) {} addUndoMargin()