Skip to content

Commit

Permalink
Merge branch 'develop' into fix/#156-list-scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
chattymin committed Jan 17, 2024
2 parents c6907a6 + 2f1f90c commit 71d52b5
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 71d52b5

Please sign in to comment.