회원가입 - 프로필 이미지 정사각형

This commit is contained in:
Yu Sung 2023-08-24 14:42:07 +09:00
parent 2c8485a1cd
commit b31dcf901b
1 changed files with 4 additions and 5 deletions

View File

@ -49,16 +49,15 @@ struct SignUpView: View {
Image(uiImage: selectedImage)
.resizable()
.scaledToFill()
.frame(width: 80, height: 116.8, alignment: .top)
.background(Color(hex: "3e3358"))
.cornerRadius(10)
.frame(width: 80, height: 80, alignment: .top)
.clipShape(Circle())
} else {
Image("ic_logo")
.resizable()
.scaledToFill()
.frame(width: 80, height: 116.8, alignment: .top)
.frame(width: 80, height: 80, alignment: .top)
.background(Color(hex: "3e3358"))
.cornerRadius(10)
.clipShape(Circle())
}
Image("ic_camera")