Add loading status to vertical cells

This commit is contained in:
Arkadiusz Fal
2023-05-27 01:14:48 +02:00
parent eaeaa45422
commit c6cff4dee4
12 changed files with 177 additions and 126 deletions

View File

@@ -65,7 +65,7 @@ struct ChannelVideosView: View {
.frame(maxWidth: .infinity)
#endif
VerticalCells(items: contentItems, edgesIgnoringSafeArea: verticalCellsEdgesIgnoringSafeArea) {
VerticalCells(items: contentItems, isLoading: resource?.isLoading ?? false, edgesIgnoringSafeArea: verticalCellsEdgesIgnoringSafeArea) {
if let description = presentedChannel?.description, !description.isEmpty {
Button {
withAnimation(.spring()) {