flip the order of finish and refreshitems at rename

This commit is contained in:
tibbi 2016-12-06 10:05:13 +01:00
parent 035fde0a8f
commit 12d761cdfd

View File

@ -98,8 +98,8 @@ class ItemsAdapter(val activity: SimpleActivity, var mItems: List<FileDirItem>,
private fun displayRenameDialog() {
RenameItemDialog(activity, getSelectedMedia()[0], object : RenameItemDialog.OnRenameItemListener {
override fun onSuccess() {
actMode?.finish()
listener?.refreshItems()
actMode?.finish()
}
})
}