Skip to content

Commit

Permalink
[FIX/#158] 6명 초과 서버통신 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
crownjoe committed Jan 17, 2024
1 parent 7e182c9 commit ff152b1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ import com.going.presentation.dashboard.DashBoardActivity
import com.going.presentation.dashboard.DashBoardActivity.Companion.IS_FIRST_ENTERED
import com.going.presentation.databinding.ActivityFinishPreferenceBinding
import com.going.presentation.entertrip.invitetrip.invitecode.EnterTripActivity.Companion.TRIP_ID
import com.going.presentation.entertrip.invitetrip.invitecode.EnterTripViewModel
import com.going.presentation.entertrip.invitetrip.invitecode.EnterTripViewModel.Companion.ERROR_ALREADY_EXIST
import com.going.presentation.entertrip.invitetrip.invitecode.EnterTripViewModel.Companion.ERROR_OVER_SIX
import com.going.presentation.entertrip.preferencetag.PreferenceTagAdapter
import com.going.presentation.entertrip.preferencetag.PreferenceTagDecoration
import com.going.ui.base.BaseActivity
Expand Down Expand Up @@ -82,6 +84,8 @@ class FinishPreferenceActivity :
when (state.msg) {
ERROR_ALREADY_EXIST -> toast(getString(R.string.enter_trip_my_code_toast))

ERROR_OVER_SIX -> toast(getString(R.string.enter_trip_invite_code_over_toast))

else -> toast(getString(R.string.server_error))
}
}
Expand Down

0 comments on commit ff152b1

Please sign in to comment.