diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/adapters/ItemsAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/adapters/ItemsAdapter.kt index 54b08525..64d03737 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/adapters/ItemsAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/adapters/ItemsAdapter.kt @@ -98,8 +98,8 @@ class ItemsAdapter(val activity: SimpleActivity, var mItems: List, private fun displayRenameDialog() { RenameItemDialog(activity, getSelectedMedia()[0], object : RenameItemDialog.OnRenameItemListener { override fun onSuccess() { - actMode?.finish() listener?.refreshItems() + actMode?.finish() } }) }