mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 20:48:00 +01:00
do not show the Pull to refresh spinning thing when loading cached images
This commit is contained in:
parent
476e4d4522
commit
2b12bf5d53
1 changed files with 1 additions and 3 deletions
|
@ -223,9 +223,7 @@ class MediaActivity : SimpleActivity(), MediaAdapter.MediaOperationsListener {
|
|||
val media = Gson().fromJson<ArrayList<Medium>>(config.loadFolderMedia(mPath), token) ?: ArrayList<Medium>(1)
|
||||
if (media.isNotEmpty() && !mLoadedInitialPhotos) {
|
||||
gotMedia(media)
|
||||
}
|
||||
|
||||
if (!mLoadedInitialPhotos) {
|
||||
} else {
|
||||
media_refresh_layout.isRefreshing = true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue