From f69ba7fb32d6d97f108bdf4af26cf9e988311584 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 10 Apr 2022 20:23:27 +0200 Subject: [PATCH] avoid showing a progress toast twice at fixing date taken value --- .../com/simplemobiletools/gallery/pro/extensions/Activity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/Activity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/Activity.kt index f2ccfef4e..2b90ca63e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/Activity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/Activity.kt @@ -450,7 +450,7 @@ fun AppCompatActivity.fixDateTaken( callback: (() -> Unit)? = null ) { val BATCH_SIZE = 50 - if (showToasts) { + if (showToasts && !hasRescanned) { toast(R.string.fixing) }