From 17e7fb523ddd0e3da5f3bccae330d8e97b3033b3 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 23 Feb 2020 11:44:53 +0100 Subject: [PATCH] show a clearer error toast at cancelling the editing --- .../simplemobiletools/gallery/pro/activities/NewEditActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/NewEditActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/NewEditActivity.kt index b3b8e4905..285cf0022 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/NewEditActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/NewEditActivity.kt @@ -119,7 +119,7 @@ class NewEditActivity : SimpleActivity() { } if (resultCode != Activity.RESULT_OK || sourceImageUri == null || sourceImageUri.toString().isEmpty() || cacheImagePathFromEditor.isEmpty() || sourceImageUri.toString() == cacheImagePathFromEditor) { - toast(R.string.image_editing_failed) + toast(R.string.image_editing_cancelled) finish() } else { // the image is stored at the internal app storage first, for example /data/user/0/com.simplemobiletools.gallery.pro/cache/editor/IMG_20191207_183023.jpg