Skip to content

Commit 2a66aa8

Browse files
committed
[Style] #204 - 프로필 사진 변경 기능 사용성 확보
1 parent 1e2c72b commit 2a66aa8

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

Neki-iOS/Features/MyPage/Sources/Presentation/Sources/View/AccountPreferenceView.swift

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,20 @@ private extension AccountPreferenceView {
6969

7070
var profileArea: some View {
7171
VStack(spacing: 16) {
72-
KFImage(store.user.profileImageURL)
73-
.resizable()
74-
.onFailureImage(.iconDefaultProfile)
75-
.scaledToFill()
76-
.frame(width: 142, height: 142)
77-
.clipShape(.circle)
72+
ZStack(alignment: .bottomTrailing) {
73+
KFImage(store.user.profileImageURL)
74+
.resizable()
75+
.onFailureImage(.iconDefaultProfile)
76+
.scaledToFill()
77+
.frame(width: 142, height: 142)
78+
.clipShape(.circle)
79+
80+
Button {
81+
store.send(.editProfileButtonTapped)
82+
} label: {
83+
Image(.iconProfileCamera)
84+
}
85+
}
7886

7987
HStack(spacing: 9) {
8088
Text(store.user.nickname)

0 commit comments

Comments
 (0)