fix(creator-profile): 프로필 이미지 centerCrop 적용
This commit is contained in:
@@ -35,8 +35,9 @@ struct UserProfileView: View {
|
|||||||
.cancelOnDisappear(true)
|
.cancelOnDisappear(true)
|
||||||
.downsampling(size: CGSize(width: screenSize().width, height: screenSize().width))
|
.downsampling(size: CGSize(width: screenSize().width, height: screenSize().width))
|
||||||
.resizable()
|
.resizable()
|
||||||
|
.scaledToFill()
|
||||||
.aspectRatio(1, contentMode: .fill)
|
.aspectRatio(1, contentMode: .fill)
|
||||||
.frame(maxWidth: screenSize().width)
|
.frame(width: screenSize().width, height: screenSize().width)
|
||||||
.clipped()
|
.clipped()
|
||||||
|
|
||||||
VStack(alignment: .leading, spacing: 8) {
|
VStack(alignment: .leading, spacing: 8) {
|
||||||
|
|||||||
Reference in New Issue
Block a user