Merge pull request #2483 from tuskyapp/fix_timeline_refresh_spinner
fix timeline refresh indicator finishing before updates are visible
This commit is contained in:
commit
2a42536b27
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ class TimelineFragment :
|
|||
setupRecyclerView()
|
||||
|
||||
adapter.addLoadStateListener { loadState ->
|
||||
if (loadState.refresh != LoadState.Loading) {
|
||||
if (loadState.refresh != LoadState.Loading && loadState.source.refresh != LoadState.Loading) {
|
||||
binding.swipeRefreshLayout.isRefreshing = false
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue