Skip to content

Commit

Permalink
📱 #7 Modify product contentMode
Browse files Browse the repository at this point in the history
  • Loading branch information
JUNY0110 committed Nov 18, 2022
1 parent dfd05c4 commit 58cdccd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ struct StatisticsView: View {
HStack {
ForEach(productArray, id: \.self) {product in
Image(product)
.frame(width: setWidth / 6, height: setWidth / 6, alignment: .center)
.resizable()
.frame(width: screenWidth / 6, height: screenWidth / 6, alignment: .center)
.aspectRatio(contentMode: .fit)
.clipShape(Circle())
}
}
Expand Down

0 comments on commit 58cdccd

Please sign in to comment.