change the way folders are updated after Pinning change

This commit is contained in:
tibbi 2018-10-20 20:00:16 +02:00
parent 7e6362cbfb
commit 9d3848b2ab

View file

@ -317,10 +317,9 @@ class DirectoryAdapter(activity: BaseSimpleActivity, var dirs: ArrayList<Directo
config.removePinnedFolders(getSelectedPaths().toHashSet()) config.removePinnedFolders(getSelectedPaths().toHashSet())
} }
currentDirectoriesHash = 0
pinnedFolders = config.pinnedFolders pinnedFolders = config.pinnedFolders
listener?.recheckPinnedFolders() listener?.recheckPinnedFolders()
notifyDataSetChanged()
finishActMode()
} }
private fun copyMoveTo(isCopyOperation: Boolean) { private fun copyMoveTo(isCopyOperation: Boolean) {