Commit 7268bcd3 authored by Matthieu's avatar Matthieu

Merge branch 'onbackpressed_fix2' into 'master'

Fix infinite dialog loop

See merge request !288
parents 72b902e5 80cdaacf
Pipeline #352 passed with stages
in 5 minutes and 10 seconds
......@@ -164,7 +164,7 @@ class PhotoEditActivity : BaseActivity() {
saveImageToGallery()
}
setNegativeButton(R.string.no_cancel_edit) { _, _ ->
onBackPressed()
super.onBackPressed()
}
}
// Create the AlertDialog
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment