Fix infinite dialog loop

This commit is contained in:
Matthieu 2021-01-14 13:15:40 +01:00
parent 72b902e522
commit 80cdaacf03
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ class PhotoEditActivity : BaseActivity() {
saveImageToGallery()
}
setNegativeButton(R.string.no_cancel_edit) { _, _ ->
onBackPressed()
super.onBackPressed()
}
}
// Create the AlertDialog