From 7ab5886ed4fac5004bdd6697cf639253867819a7 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Sat, 23 Oct 2021 13:33:40 +0200 Subject: [PATCH] Fix thumbnails loading indicators --- Shared/Videos/VideoCell.swift | 2 +- Shared/Views/ChannelCell.swift | 2 +- Shared/Views/ChannelPlaylistCell.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Shared/Videos/VideoCell.swift b/Shared/Videos/VideoCell.swift index 7ad3fdef..ae25d386 100644 --- a/Shared/Videos/VideoCell.swift +++ b/Shared/Videos/VideoCell.swift @@ -215,7 +215,7 @@ struct VideoCell: View { .onFailure { _ in lowQualityThumbnail = true } - .indicator(.progress) + .indicator(.activity) .mask(RoundedRectangle(cornerRadius: 12)) .modifier(AspectRatioModifier()) #if os(tvOS) diff --git a/Shared/Views/ChannelCell.swift b/Shared/Views/ChannelCell.swift index d9367af1..af33f976 100644 --- a/Shared/Views/ChannelCell.swift +++ b/Shared/Views/ChannelCell.swift @@ -43,7 +43,7 @@ struct ChannelCell: View { .placeholder { Rectangle().fill(Color("PlaceholderColor")) } - .indicator(.progress) + .indicator(.activity) .frame(width: 88, height: 88) .clipShape(Circle()) diff --git a/Shared/Views/ChannelPlaylistCell.swift b/Shared/Views/ChannelPlaylistCell.swift index 582077b1..92d7d436 100644 --- a/Shared/Views/ChannelPlaylistCell.swift +++ b/Shared/Views/ChannelPlaylistCell.swift @@ -42,7 +42,7 @@ struct ChannelPlaylistCell: View { .placeholder { Rectangle().fill(Color("PlaceholderColor")) } - .indicator(.progress) + .indicator(.activity) .frame(width: 165, height: 88) .clipShape(RoundedRectangle(cornerRadius: 10))