Fix infinite dialog loop
This commit is contained in:
parent
72b902e522
commit
80cdaacf03
|
@ -164,7 +164,7 @@ class PhotoEditActivity : BaseActivity() {
|
||||||
saveImageToGallery()
|
saveImageToGallery()
|
||||||
}
|
}
|
||||||
setNegativeButton(R.string.no_cancel_edit) { _, _ ->
|
setNegativeButton(R.string.no_cancel_edit) { _, _ ->
|
||||||
onBackPressed()
|
super.onBackPressed()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Create the AlertDialog
|
// Create the AlertDialog
|
||||||
|
|
Loading…
Reference in New Issue