-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat: 빈 쪽지 못남기게 하는 기능 구현 #542
The head ref may contain hidden characters: "feat/#521_\uBE48_\uCABD\uC9C0_\uBABB\uB0A8\uAE30\uAC8C_\uD558\uB294_\uAE30\uB2A5_\uAD6C\uD604"
Conversation
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.
고생했어요 뽀또!
수정이 필요해 보이는 사항 하나 남겼으니 반영해주세요 :)
@@ -203,6 +203,14 @@ class OnAdventureActivity : | |||
} | |||
} | |||
|
|||
private fun registerLetter(message: String) { | |||
if (message.isNotEmpty()) { | |||
viewModel::sendLetter |
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.
P[1]
내용이 비어있는 쪽지에 대해서는 토스트 메시지가 잘 뜨네요!
하지만 내용이 잘 들어가 있는 쪽지에 대해서는 서버에 전송이 안되고 있어요!!
// before
viewModel::sendLetter
// after
viewModel.sendLetter(message)
변경해야 합니다!
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.
wow 큰일날뻔 했네요 이야...쇼킹하군요
바로 수정했습니다!
📌 관련 이슈
🛠️ 작업 내용
🎯 리뷰 포인트
⏳ 작업 시간
추정 시간: 1h
실제 시간: 1h
이유: 차이가 많이 난다면 이유도 같이 적어주세요 :)