mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Set aspect ratio to fit on feature card images
This commit is contained in:
parent
11ebde2988
commit
82a657b82e
1 changed files with 1 additions and 1 deletions
|
|
@ -40,8 +40,8 @@ public struct LibraryFeatureCard: View {
|
|||
EmptyView()
|
||||
case let .success(image):
|
||||
image.resizable()
|
||||
.aspectRatio(contentMode: .fit)
|
||||
.frame(width: 146, height: 90)
|
||||
.aspectRatio(contentMode: .fill)
|
||||
case .failure:
|
||||
fallbackImage
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue