Skip to content

Commit

Permalink
[Refactor/#107] observe lifecycleOwner 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ss99x2002 committed Aug 24, 2023
1 parent fb44097 commit 02f1208
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ConfirmAnswerDialogFragment : DialogFragment() {
}

private fun observeResponseStatus() {
viewModel.responseStatus.observe(this) {
viewModel.responseStatus.observe(viewLifecycleOwner) {
if (it == 201) {
dismiss()
requireActivity().finish()
Expand Down

0 comments on commit 02f1208

Please sign in to comment.