check invalid directories as the last thing on the new thread
This commit is contained in:
parent
bb943daf38
commit
617412a3bc
1 changed files with 1 additions and 1 deletions
|
@ -662,13 +662,13 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
|
||||||
|
|
||||||
mIsGettingDirs = false
|
mIsGettingDirs = false
|
||||||
mLoadedInitialPhotos = true
|
mLoadedInitialPhotos = true
|
||||||
checkInvalidDirectories(dirs, directoryDao)
|
|
||||||
|
|
||||||
runOnUiThread {
|
runOnUiThread {
|
||||||
directories_refresh_layout.isRefreshing = false
|
directories_refresh_layout.isRefreshing = false
|
||||||
directories_vertical_fastscroller.measureRecyclerView()
|
directories_vertical_fastscroller.measureRecyclerView()
|
||||||
checkPlaceholderVisibility(dirs)
|
checkPlaceholderVisibility(dirs)
|
||||||
}
|
}
|
||||||
|
checkInvalidDirectories(dirs, directoryDao)
|
||||||
}.start()
|
}.start()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue