[FEAT] 홈화면 내에 스타일로 프로필 생성하기 버튼을 통해, 스타일 입력화면내에 선택한 스타일이 체크되도록 구현 #86
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.
현재 해당 코드를 통해 pager에 swipe 에 따른 currentPage 변화를 구독하는데, 초기 상황(홈화면 진입 후, 아직 한번도 swipe를 진행하지 않음)
에는 pagerState의 변화가 없으므로 style 이 선택되지 않음
따라서 우선,
이런식으로 스타일로 프로필 생성하기 버튼을 눌렀는데, 선택된 스타일이 없다면 0번째 인덱스의 스타일이 선택되는 것으로 임시 처리
더 나은 해결방법이 없는지 고민 필요