Fix thumbnails loading indicators

This commit is contained in:
Arkadiusz Fal 2021-10-23 13:33:40 +02:00
parent cc68e53f42
commit 7ab5886ed4
3 changed files with 3 additions and 3 deletions

View File

@ -215,7 +215,7 @@ struct VideoCell: View {
.onFailure { _ in
lowQualityThumbnail = true
}
.indicator(.progress)
.indicator(.activity)
.mask(RoundedRectangle(cornerRadius: 12))
.modifier(AspectRatioModifier())
#if os(tvOS)

View File

@ -43,7 +43,7 @@ struct ChannelCell: View {
.placeholder {
Rectangle().fill(Color("PlaceholderColor"))
}
.indicator(.progress)
.indicator(.activity)
.frame(width: 88, height: 88)
.clipShape(Circle())

View File

@ -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))