[fix#223] 이미지 선택 시 버튼 활성화되지 않는 버그 #234
Merged
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.
이슈 #223
완료된 기능
전달사항
버튼을 활성화시키는 부분은 Action의
imageDidSelected
을 통해 State의isDisableDoneButton
의 값을 변경시켜 doneButton의 활성화여부를 바인딩해주고 있음.각각 selectedImage에 빈 배열과 nil을 넣어도 문제없이 버튼이 활성화됨.
따라서, store 쪽에서 문제가 발생하는 것으로 판단했고 확인해보니깐 WithPerceptionTracking 관련해서 경고를 내뿜고 있었음
일단 ProfileImageUploadView body를 WithPerceptionTracking로 감싸서 view에서 store의 상태변경을 잘 추적하도록 함.
버그가 재연이 안되다보니 완벽하게 해결된지는 모르겠음...