From 3fb074692aef73ffd5b1fd2ecb927bc008b59e61 Mon Sep 17 00:00:00 2001 From: LEE YOU BIN Date: Mon, 15 Jan 2024 01:18:10 +0900 Subject: [PATCH] =?UTF-8?q?[FIX/#96]=20=EC=BD=94=EB=93=9C=EB=A6=AC?= =?UTF-8?q?=EB=B7=B0=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../going/presentation/dashboard/DashBoardActivity.kt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/presentation/src/main/java/com/going/presentation/dashboard/DashBoardActivity.kt b/presentation/src/main/java/com/going/presentation/dashboard/DashBoardActivity.kt index 6897a075..6ede4803 100644 --- a/presentation/src/main/java/com/going/presentation/dashboard/DashBoardActivity.kt +++ b/presentation/src/main/java/com/going/presentation/dashboard/DashBoardActivity.kt @@ -57,9 +57,13 @@ class DashBoardActivity : private fun initCreateTripBtnClickListener() { binding.btnDashboardCreateTrip.setOnSingleClickListener { - Intent(this, CreateTripActivity::class.java).apply { - startActivity(this) - } + navigateToDashboard() + } + } + + private fun navigateToDashboard() { + Intent(this, CreateTripActivity::class.java).apply { + startActivity(this) } }