use the currently shown directories

This commit is contained in:
tibbi 2021-01-18 19:33:40 +01:00
parent 83b0d7347f
commit 73cf37d463

View file

@ -524,7 +524,7 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
invalidateOptionsMenu()
setupLayoutManager()
directories_grid.adapter = null
setupAdapter(mDirs)
setupAdapter(getRecyclerAdapter()?.dirs ?: mDirs)
}
}