diff --git a/app/build.gradle b/app/build.gradle index 31bdf815..5b8b8a1a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -57,7 +57,7 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:42f2c7b300' + implementation 'com.github.SimpleMobileTools:Simple-Commons:d39bf6263d' implementation 'com.github.Stericson:RootTools:df729dcb13' implementation 'com.github.Stericson:RootShell:1.6' implementation 'com.alexvasilkov:gesture-views:2.5.2' diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/extensions/Activity.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/extensions/Activity.kt index 7ccf207c..3014823b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/extensions/Activity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/extensions/Activity.kt @@ -68,7 +68,7 @@ fun BaseSimpleActivity.toggleItemVisibility(oldPath: String, hide: Boolean, call val newPath = "$path/$filename" if (oldPath != newPath) { - renameFile(oldPath, newPath) { + renameFile(oldPath, newPath, false) { success, useAndroid30Way -> callback?.invoke(newPath) } }