diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index da9c7ea86..90fe663e1 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -123,7 +123,7 @@ android:configChanges="orientation|keyboardHidden|screenSize"/> diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/PanoramaActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/PanoramaPhotoActivity.kt similarity index 99% rename from app/src/main/kotlin/com/simplemobiletools/gallery/activities/PanoramaActivity.kt rename to app/src/main/kotlin/com/simplemobiletools/gallery/activities/PanoramaPhotoActivity.kt index e13f4e055..c1cb9b55e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/PanoramaActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/PanoramaPhotoActivity.kt @@ -21,7 +21,7 @@ import com.simplemobiletools.gallery.extensions.* import com.simplemobiletools.gallery.helpers.PATH import kotlinx.android.synthetic.main.activity_panorama.* -open class PanoramaActivity : SimpleActivity() { +open class PanoramaPhotoActivity : SimpleActivity() { private val CARDBOARD_DISPLAY_MODE = 3 private var isFullScreen = false diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt index c074cbb24..4382df7dd 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt @@ -29,7 +29,7 @@ import com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView import com.simplemobiletools.commons.extensions.* import com.simplemobiletools.commons.helpers.OTG_PATH import com.simplemobiletools.gallery.R -import com.simplemobiletools.gallery.activities.PanoramaActivity +import com.simplemobiletools.gallery.activities.PanoramaPhotoActivity import com.simplemobiletools.gallery.activities.PhotoActivity import com.simplemobiletools.gallery.activities.ViewPagerActivity import com.simplemobiletools.gallery.extensions.* @@ -341,7 +341,7 @@ class PhotoFragment : ViewPagerFragment() { } private fun openPanorama() { - Intent(context, PanoramaActivity::class.java).apply { + Intent(context, PanoramaPhotoActivity::class.java).apply { putExtra(PATH, medium.path) startActivity(this) }