Skip to content

Conversation

@m6z1
Copy link
Member

@m6z1 m6z1 commented Apr 19, 2025

📌𝘐𝘴𝘴𝘶𝘦𝘴

📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯

  • 기존 프로필 공개 여부 버튼이 활/비활성화 이미지에서 토글 버튼으로 수정되었습니다. (알림 설정뷰와 얼라인을 위해서)
  • isChangedStatus 로 상태 초기값과 저장된 값이 다른지 파악해 뒤로가기 버튼을 눌렀을 때 스낵바가 뜰 수 있도록 했습니다.

📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵

2025-04-20.2.08.45.mov

💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴

@m6z1 m6z1 added 🍯 [FEAT] 새로운 기능을 개발합니다. 🏹 궁사 명지 웹소소 공주의 은밀한 사냥생활 labels Apr 19, 2025
@m6z1 m6z1 requested a review from a team April 19, 2025 17:11
@m6z1 m6z1 self-assigned this Apr 19, 2025
quitNovelCount = quitNovelCount,
)

fun UserProfileStatusResponseDto.toData(): UserProfileStatusEntity =
Copy link
Member Author

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 함수 삭제했습니다.

Copy link
Member

@yeonjeen yeonjeen left a 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" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a: 제가 해당 속성을 처음봐서 그런데 어떤 속성인가요??

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

토글 버튼의 트랙(배경 이미지 ?)를 설정하는 친구입니다
스크린샷 2025-04-20 오전 2 34 59
이 이미지에서 동그란 흰색은 thumb / 회색 배경의 타원은 track

Copy link
Member

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c: 리턴을 하는 이유가 있나유?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

습관성 얼리 리턴이었는데 ㅎㅎ ,,
finish 를 통해 해당 액티비티가 소멸하기에 해당 리턴 불필요하다고 판단해 제거했습니다.
d9db0b8

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

어떤 분기든 결국 finish()로 귀결되니 맨 마지막 finish만 남겨둬도 괜찮을 것 같아요

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

반영 완! 0655c1d

@m6z1 m6z1 merged commit 93926b9 into develop Apr 22, 2025
1 check passed
@m6z1 m6z1 deleted the feat/632 branch April 22, 2025 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🍯 [FEAT] 새로운 기능을 개발합니다. 🏹 궁사 명지 웹소소 공주의 은밀한 사냥생활

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: 프로필 비공개 여부 버튼 > 토글 버튼으로 수정

4 participants