rename Panorama activity to PanoramaPhoto

This commit is contained in:
tibbi 2018-10-21 13:14:56 +02:00
parent 7bc48bee0b
commit 9a4e9ad318
3 changed files with 4 additions and 4 deletions

View File

@ -123,7 +123,7 @@
android:configChanges="orientation|keyboardHidden|screenSize"/>
<activity
android:name=".activities.PanoramaActivity"
android:name=".activities.PanoramaPhotoActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@style/FullScreenTheme"/>

View File

@ -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

View File

@ -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)
}