mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Add loading status to vertical cells
This commit is contained in:
@@ -16,7 +16,7 @@ struct FeedView: View {
|
||||
}
|
||||
|
||||
var body: some View {
|
||||
VerticalCells(items: videos) { if shouldDisplayHeader { header } }
|
||||
VerticalCells(items: videos, isLoading: feed.isLoading) { if shouldDisplayHeader { header } }
|
||||
.environment(\.loadMoreContentHandler) { feed.loadNextPage() }
|
||||
.onAppear {
|
||||
feed.loadResources()
|
||||
|
Reference in New Issue
Block a user