Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🔗 연결된 이슈
📄 작업 내용
💻 주요 코드 설명
설명할 코드 주제 또는 기능
MyPageEditViewController:
기존
publisher
로 전달주던 코드에서selectedImage
변수를 추가하여 선택된 이미지를 임시로 저장하게 수정했습니다handleConfirmButtonTap
메소드를 추가하여 '수정하기' 버튼을 눌렀을 때만 이미지를 업데이트 하게 수정했습니다그리고 이미지 선택 시 rootView.profileImageView.image를 업데이트합니다
'수정하기' 버튼을 활성화하는 로직을 추가했습니다.
MyPageEditViewModel:
newProfileImage
옵저버블 대신updateProfileImage
메소드를 직접 호출하도록 변경했습니다.setDefaultProfileImage
메소드를 추가하여 기본 프로필 이미지 설정을 처리합니다.해당 코드가 있는 파일명