From f914b83ed241941f175c3047e1296a49193161be Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 31 Jul 2019 23:24:08 +0200 Subject: [PATCH] fix #331, allow toggling between the old and new renaming --- app/build.gradle | 2 +- .../simplemobiletools/filemanager/pro/adapters/ItemsAdapter.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 5f709ed7..9dfc8333 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -51,7 +51,7 @@ android { } dependencies { - implementation 'com.simplemobiletools:commons:5.15.15' + implementation 'com.simplemobiletools:commons:5.15.18' 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/adapters/ItemsAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/adapters/ItemsAdapter.kt index e46fe48b..9cb9993e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/adapters/ItemsAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/adapters/ItemsAdapter.kt @@ -197,7 +197,7 @@ class ItemsAdapter(activity: SimpleActivity, var listItems: MutableList RenameItemsPatternDialog(activity, paths) { + else -> RenameDialog(activity, paths) { activity.runOnUiThread { listener?.refreshItems() finishActMode()