diff --git a/presentation/src/main/java/com/going/presentation/entertrip/invitetrip/preference/FinishPreferenceActivity.kt b/presentation/src/main/java/com/going/presentation/entertrip/invitetrip/preference/FinishPreferenceActivity.kt index 6dc51459..b3bafe81 100644 --- a/presentation/src/main/java/com/going/presentation/entertrip/invitetrip/preference/FinishPreferenceActivity.kt +++ b/presentation/src/main/java/com/going/presentation/entertrip/invitetrip/preference/FinishPreferenceActivity.kt @@ -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 @@ -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)) } }