mirror of
https://github.com/apognu/otter
synced 2025-02-09 07:48:38 +01:00
Fixed loading wheel.
This commit is contained in:
parent
bc1e911b41
commit
28949a8e17
@ -105,6 +105,8 @@ abstract class FunkwhaleFragment<D : Any, A : FunkwhaleAdapter<D, *>> : Fragment
|
||||
|
||||
repository.fetch(upstreams, size).untilNetwork(lifecycleScope, IO) { data, isCache, _, hasMore ->
|
||||
if (isCache && data.isEmpty()) {
|
||||
moreLoading = false
|
||||
|
||||
return@untilNetwork fetch(Repository.Origin.Network.origin)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user