diff --git a/presentation/src/main/java/co/orange/presentation/auth/login/LoginActivity.kt b/presentation/src/main/java/co/orange/presentation/auth/login/LoginActivity.kt index 2afbd9e7..c6f58e32 100644 --- a/presentation/src/main/java/co/orange/presentation/auth/login/LoginActivity.kt +++ b/presentation/src/main/java/co/orange/presentation/auth/login/LoginActivity.kt @@ -25,6 +25,7 @@ class LoginActivity : BaseActivity(R.layout.activity_login Intent(this, SignUpActivity::class.java).apply { startActivity(this) } + finish() } } } diff --git a/presentation/src/main/java/co/orange/presentation/auth/signup/TermBottomSheet.kt b/presentation/src/main/java/co/orange/presentation/auth/signup/TermBottomSheet.kt index f9bd9518..3a61e024 100644 --- a/presentation/src/main/java/co/orange/presentation/auth/signup/TermBottomSheet.kt +++ b/presentation/src/main/java/co/orange/presentation/auth/signup/TermBottomSheet.kt @@ -1,8 +1,10 @@ package co.orange.presentation.auth.signup +import android.content.Intent import android.os.Bundle import android.view.View import androidx.fragment.app.activityViewModels +import co.orange.presentation.auth.submit.SubmitActivity import kr.genti.core.base.BaseBottomSheet import kr.genti.core.extension.setOnSingleClickListener import kr.genti.presentation.R @@ -35,10 +37,11 @@ class TermBottomSheet : private fun initSubmitBtnListener() { binding.btnSubmit.setOnSingleClickListener { -// Intent(this, MainActivity::class.java).apply { -// startActivity(this) -// } -// finish() + Intent(requireActivity(), SubmitActivity::class.java).apply { + startActivity(this) + } + requireActivity().finish() + dismiss() } } }