Skip to content

Commit

Permalink
Merge pull request #1109 from DroidKaigi/ios-fix-sponsor-image-render
Browse files Browse the repository at this point in the history
[iOS] fix sponsor image scale
  • Loading branch information
ry-itto authored Sep 7, 2023
2 parents 0e6dc96 + f8104db commit 073e1ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app-ios/Modules/Sources/Sponsor/SponsorGridView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ struct SponsorItemView: View {
CacheAsyncImage(url: URL(string: sponsor.logo)) { image in
image
.resizable()
.scaledToFit()
.frame(minWidth: 0, maxWidth: .infinity)
.frame(minHeight: 0, maxHeight: .infinity)
} placeholder: {
Expand Down

0 comments on commit 073e1ff

Please sign in to comment.