make renaming folders quicker

This commit is contained in:
tibbi 2018-04-09 14:09:42 +02:00
parent d91228eedf
commit 2b37c315f1
1 changed files with 2 additions and 2 deletions

View File

@ -173,8 +173,8 @@ class DirectoryAdapter(activity: BaseSimpleActivity, var dirs: ArrayList<Directo
name = it.getFilenameFromPath()
tmb = File(it, tmb.getFilenameFromPath()).absolutePath
}
currentDirectoriesHash = dirs.hashCode()
listener?.updateDirectories(dirs.toList() as ArrayList, true)
updateDirs(dirs)
listener?.updateDirectories(dirs.toList() as ArrayList, false)
}
}
}