mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Better handling of images failing to load in the feed
This commit is contained in:
parent
97c714dbf2
commit
3f7aeb3955
1 changed files with 1 additions and 3 deletions
|
|
@ -57,10 +57,8 @@ public struct FeedCard: View {
|
|||
.aspectRatio(contentMode: .fill)
|
||||
.frame(width: 80, height: 80)
|
||||
.cornerRadius(6)
|
||||
} else if phase.error != nil {
|
||||
EmptyView().frame(width: 80, height: 80, alignment: .top)
|
||||
} else {
|
||||
Color.appButtonBackground
|
||||
Color.systemBackground
|
||||
.frame(width: 80, height: 80)
|
||||
.cornerRadius(6)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue