mirror of
https://github.com/pachli/pachli-android.git
synced 2025-01-20 20:29:34 +01:00
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
@ -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 New Issue
Block a user