check invalid directories as the last thing on the new thread

This commit is contained in:
tibbi 2018-04-26 10:49:26 +02:00
parent bb943daf38
commit 617412a3bc

View file

@ -662,13 +662,13 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
mIsGettingDirs = false
mLoadedInitialPhotos = true
checkInvalidDirectories(dirs, directoryDao)
runOnUiThread {
directories_refresh_layout.isRefreshing = false
directories_vertical_fastscroller.measureRecyclerView()
checkPlaceholderVisibility(dirs)
}
checkInvalidDirectories(dirs, directoryDao)
}.start()
}