Skip to content

Commit

Permalink
feat: 댓글방 목록 화면 자동 업데이트 되지 않는 문제 수정, 회원가입 이후 자동으로 로그인되지 않는 문제 수정 (#282)
Browse files Browse the repository at this point in the history
* refactor: 뷰모델 팩토리를 뷰모델의 companion object에서 구현하는 방식으로 변경

* fix: 라이플사이클 오너 설정

* fix: 회원가입 후 자동으로 로그인 되도록 수정
  • Loading branch information
songpink authored Aug 9, 2024
1 parent 336d689 commit ff92279
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class CommentRoomsFragment : Fragment(), OnCommentRoomClickListener {
_binding = FragmentCommentRoomsBinding.inflate(inflater, container, false)
binding.fragmentCommentRooms = this
binding.vm = viewModel
binding.lifecycleOwner = viewLifecycleOwner
}

private fun linkAdapter() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class LoginViewModel(
preferences[MEMBER_ID_KEY] = it.memberId
preferences[NICKNAME_KEY] = it.nickName
}
postSignup(ci)
postLogin(ci)
}.onFailure {
Log.e("error", it.message.toString())
when (it.message) {
Expand Down

0 comments on commit ff92279

Please sign in to comment.