From 51c15be895286565136b436dccc32c1ea08aad61 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 19 Dec 2021 21:25:57 +0100 Subject: [PATCH] updating commons --- app/build.gradle | 2 +- .../com/simplemobiletools/gallery/pro/extensions/Activity.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index cb3619f6e..03d6428d0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -78,7 +78,7 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:9759404390' + implementation 'com.github.SimpleMobileTools:Simple-Commons:da849e726f' implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0' implementation 'it.sephiroth.android.exif:library:1.0.1' implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.23' 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 884bacb65..27bf5e88e 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 @@ -213,7 +213,7 @@ fun BaseSimpleActivity.toggleFileVisibility(oldPath: String, hide: Boolean, call } val newPath = "$path/$filename" - renameFile(oldPath, newPath) { + renameFile(oldPath, newPath, false) { success, useAndroid30Way -> runOnUiThread { callback?.invoke(newPath) }