-
Notifications
You must be signed in to change notification settings - Fork 0
feat: 프로필 비공개 여부 버튼 > 토글 버튼으로 수정 #639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| quitNovelCount = quitNovelCount, | ||
| ) | ||
|
|
||
| fun UserProfileStatusResponseDto.toData(): UserProfileStatusEntity = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Boolean 값 하나만 DTO 로 오는데 Entity 까지는 불필요하다고 판단했습니다.
또한, 다른 코드와 얼라인을 맞추기 위해 Entity 삭제와 Mapper 함수 삭제했습니다.
yeonjeen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고많으셨어요 뭉치!!!
| app:layout_constraintEnd_toEndOf="parent" | ||
| app:layout_constraintTop_toTopOf="parent" /> | ||
| app:layout_constraintTop_toTopOf="parent" | ||
| app:track="@drawable/bg_notification_setting_toggle" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a: 제가 해당 속성을 처음봐서 그런데 어떤 속성인가요??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오오 아직도 모르는게 많은 xml의 세계...
| ) | ||
| setResult(ChangeProfileDisclosure.RESULT_OK, intent) | ||
| finish() | ||
| return@setOnClickListener |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c: 리턴을 하는 이유가 있나유?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
습관성 얼리 리턴이었는데 ㅎㅎ ,,
finish 를 통해 해당 액티비티가 소멸하기에 해당 리턴 불필요하다고 판단해 제거했습니다.
d9db0b8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
어떤 분기든 결국 finish()로 귀결되니 맨 마지막 finish만 남겨둬도 괜찮을 것 같아요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
반영 완! 0655c1d

📌𝘐𝘴𝘴𝘶𝘦𝘴
📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯
isChangedStatus로 상태 초기값과 저장된 값이 다른지 파악해 뒤로가기 버튼을 눌렀을 때 스낵바가 뜰 수 있도록 했습니다.📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵
2025-04-20.2.08.45.mov
💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴