mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-21 14:30:35 +01:00
show an error message if editing fails
This commit is contained in:
parent
fd24357838
commit
04abffddb7
@ -114,6 +114,7 @@ class NewEditActivity : SimpleActivity() {
|
||||
}
|
||||
|
||||
if (resultCode != Activity.RESULT_OK || source.isEmpty() || imagePathFromEditor.isEmpty() || source == imagePathFromEditor) {
|
||||
toast(R.string.image_editing_failed)
|
||||
finish()
|
||||
} else {
|
||||
// the image is stored at the internal app storage first, for example /data/user/0/com.simplemobiletools.gallery.pro/files/editor/IMG_20191207_183023.jpg
|
||||
|
Loading…
x
Reference in New Issue
Block a user