make sure we update the adapter on the main thread

This commit is contained in:
tibbi 2018-12-18 10:00:21 +01:00
parent 81276cb878
commit a9bbe65999

View file

@ -984,7 +984,9 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
}
}.apply {
setupZoomListener(mZoomListener)
directories_grid.adapter = this
runOnUiThread {
directories_grid.adapter = this
}
}
measureRecyclerViewContent(dirsToShow)
setupScrollDirection()