make renaming folders quicker

This commit is contained in:
tibbi 2018-04-09 14:09:42 +02:00
parent d91228eedf
commit 2b37c315f1

View file

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