From 9ef7491d58367e34e103692aa3dc75912475457a Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 24 Apr 2017 23:02:56 +0200 Subject: [PATCH] show a toast message at saving edited image --- app/build.gradle | 2 +- .../simplemobiletools/gallery/activities/ViewPagerActivity.kt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 8f638ff0b..b002b3d16 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -32,7 +32,7 @@ android { } dependencies { - compile 'com.simplemobiletools:commons:2.17.3' + compile 'com.simplemobiletools:commons:2.17.4' compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.6.0' compile 'com.theartofdev.edmodo:android-image-cropper:2.4.0' compile 'com.bignerdranch.android:recyclerview-multiselect:0.2' diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt index 0ef4f722f..1386bec88 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt @@ -233,6 +233,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View val currPath = getCurrentPath() SaveAsDialog(this, currPath) { Thread({ + toast(R.string.saving) val selectedFile = File(it) val tmpFile = File(selectedFile.parent, "tmp_${it.getFilenameFromPath()}") try {