fix #768, do not show the loading spinning circle at initial launch

This commit is contained in:
tibbi 2018-05-12 23:31:23 +02:00
parent 860d801ede
commit ca02223ab6

View file

@ -294,11 +294,6 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
val getVideosOnly = mIsPickVideoIntent || mIsGetVideoContentIntent val getVideosOnly = mIsPickVideoIntent || mIsGetVideoContentIntent
getCachedDirectories(getVideosOnly, getImagesOnly) { getCachedDirectories(getVideosOnly, getImagesOnly) {
if (!mLoadedInitialPhotos) {
runOnUiThread {
directories_refresh_layout.isRefreshing = true
}
}
gotDirectories(addTempFolderIfNeeded(it)) gotDirectories(addTempFolderIfNeeded(it))
} }
} }