fix the panorama path check
This commit is contained in:
parent
448cf2d604
commit
c32b332804
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ open class PanoramaActivity : SimpleActivity() {
|
|||
|
||||
private fun checkIntent() {
|
||||
val path = intent.getStringExtra(PATH)
|
||||
if (path != null) {
|
||||
if (path == null) {
|
||||
toast(R.string.invalid_image_path)
|
||||
finish()
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue