mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-11 08:35:26 +00:00
Fix #1840
This commit is contained in:
parent
4ebe486816
commit
6af0c36740
1 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,7 @@ public struct StatusesListView<Fetcher>: View where Fetcher: StatusesFetcher {
|
|||
switch nextPageState {
|
||||
case .hasNextPage:
|
||||
loadingRow
|
||||
.id(UUID().uuidString)
|
||||
.onAppear {
|
||||
Task {
|
||||
await fetcher.fetchNextPage()
|
||||
|
@ -69,6 +70,7 @@ public struct StatusesListView<Fetcher>: View where Fetcher: StatusesFetcher {
|
|||
}
|
||||
case .loadingNextPage:
|
||||
loadingRow
|
||||
.id(UUID().uuidString)
|
||||
case .none:
|
||||
EmptyView()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue