mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Fix thumbnails loading indicators
This commit is contained in:
parent
cc68e53f42
commit
7ab5886ed4
@ -215,7 +215,7 @@ struct VideoCell: View {
|
|||||||
.onFailure { _ in
|
.onFailure { _ in
|
||||||
lowQualityThumbnail = true
|
lowQualityThumbnail = true
|
||||||
}
|
}
|
||||||
.indicator(.progress)
|
.indicator(.activity)
|
||||||
.mask(RoundedRectangle(cornerRadius: 12))
|
.mask(RoundedRectangle(cornerRadius: 12))
|
||||||
.modifier(AspectRatioModifier())
|
.modifier(AspectRatioModifier())
|
||||||
#if os(tvOS)
|
#if os(tvOS)
|
||||||
|
@ -43,7 +43,7 @@ struct ChannelCell: View {
|
|||||||
.placeholder {
|
.placeholder {
|
||||||
Rectangle().fill(Color("PlaceholderColor"))
|
Rectangle().fill(Color("PlaceholderColor"))
|
||||||
}
|
}
|
||||||
.indicator(.progress)
|
.indicator(.activity)
|
||||||
.frame(width: 88, height: 88)
|
.frame(width: 88, height: 88)
|
||||||
.clipShape(Circle())
|
.clipShape(Circle())
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ struct ChannelPlaylistCell: View {
|
|||||||
.placeholder {
|
.placeholder {
|
||||||
Rectangle().fill(Color("PlaceholderColor"))
|
Rectangle().fill(Color("PlaceholderColor"))
|
||||||
}
|
}
|
||||||
.indicator(.progress)
|
.indicator(.activity)
|
||||||
.frame(width: 165, height: 88)
|
.frame(width: 165, height: 88)
|
||||||
.clipShape(RoundedRectangle(cornerRadius: 10))
|
.clipShape(RoundedRectangle(cornerRadius: 10))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user