fixed fill/fit

This commit is contained in:
cranci1 2025-02-20 16:10:28 +01:00
parent 9bc58fd763
commit 982d524c72
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ struct MediaInfoView: View {
.shimmering()
}
.resizable()
.aspectRatio(2/3, contentMode: .fill)
.aspectRatio(2/3, contentMode: .fit)
.cornerRadius(10)
.frame(width: 150, height: 225)

View file

@ -107,7 +107,7 @@ struct SearchView: View {
VStack {
KFImage(URL(string: item.imageUrl))
.resizable()
.aspectRatio(2/3, contentMode: .fill)
.aspectRatio(2/3, contentMode: .fit)
.cornerRadius(10)
.frame(width: 150, height: 225)