mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Retry loading thumbnails
This commit is contained in:
parent
91fa4ea2ff
commit
19d57ff55c
@ -107,7 +107,7 @@ struct CommentView: View {
|
||||
.placeholder {
|
||||
Rectangle().fill(Color("PlaceholderColor"))
|
||||
}
|
||||
.retryOnAppear(false)
|
||||
.retryOnAppear(true)
|
||||
.indicator(.activity)
|
||||
.mask(RoundedRectangle(cornerRadius: 60))
|
||||
#if os(tvOS)
|
||||
|
@ -410,7 +410,7 @@ struct VideoDetails: View {
|
||||
.placeholder {
|
||||
Rectangle().fill(Color("PlaceholderColor"))
|
||||
}
|
||||
.retryOnAppear(false)
|
||||
.retryOnAppear(true)
|
||||
.indicator(.activity)
|
||||
.clipShape(Circle())
|
||||
.frame(width: 45, height: 45, alignment: .leading)
|
||||
|
@ -272,7 +272,7 @@ struct VideoCell: View {
|
||||
.placeholder {
|
||||
Rectangle().fill(Color("PlaceholderColor"))
|
||||
}
|
||||
.retryOnAppear(false)
|
||||
.retryOnAppear(true)
|
||||
.onFailure { _ in
|
||||
thumbnails.insertUnloadable(url)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user