fix the panorama path check

This commit is contained in:
tibbi 2018-07-03 22:46:48 +02:00
parent 448cf2d604
commit c32b332804

View file

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