mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-16 22:31:56 +00:00
fixed fill/fit
This commit is contained in:
parent
9bc58fd763
commit
982d524c72
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue