1
0
mirror of https://github.com/tuskyapp/Tusky synced 2024-12-17 19:39:05 +01:00

fix timeline refresh spinner finishing before updates are visible

This commit is contained in:
Konrad Pozniak 2022-04-30 08:09:59 +02:00
parent 9a8dfaa744
commit 7fd54e3b4f

View File

@ -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
}