Skip to content

Commit

Permalink
✨ Adjust aspect ratio of image and preserve vector representation.
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteHyun committed Mar 25, 2024
1 parent 0daf91d commit 2a35d5e
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ struct HomeProductDetailSelectionView<ViewModel>: View where ViewModel: HomeView
Group {
convenienceImageView()
.resizable()
.scaledToFit()
.aspectRatio(contentMode: .fit)
Image.chevronDown
.renderingMode(.template)
.foregroundStyle(.gray300)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}

0 comments on commit 2a35d5e

Please sign in to comment.