mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-01-23 07:11:47 +01:00
flip the order of finish and refreshitems at rename
This commit is contained in:
parent
035fde0a8f
commit
12d761cdfd
@ -98,8 +98,8 @@ class ItemsAdapter(val activity: SimpleActivity, var mItems: List<FileDirItem>,
|
|||||||
private fun displayRenameDialog() {
|
private fun displayRenameDialog() {
|
||||||
RenameItemDialog(activity, getSelectedMedia()[0], object : RenameItemDialog.OnRenameItemListener {
|
RenameItemDialog(activity, getSelectedMedia()[0], object : RenameItemDialog.OnRenameItemListener {
|
||||||
override fun onSuccess() {
|
override fun onSuccess() {
|
||||||
actMode?.finish()
|
|
||||||
listener?.refreshItems()
|
listener?.refreshItems()
|
||||||
|
actMode?.finish()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user