From 59525f1638ffcabf9ab6873c7ccc1e24fc932aa9 Mon Sep 17 00:00:00 2001 From: rkdmf1026 <50603273+rkdmf1026@users.noreply.github.com> Date: Sun, 10 Dec 2023 21:46:25 +0900 Subject: [PATCH] =?UTF-8?q?#156/=EB=A9=94=EB=AA=A8=EC=9E=A5=20=EC=B4=88?= =?UTF-8?q?=EA=B8=B0=ED=99=94=20=EB=A1=9C=EC=A7=81=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/sopt/uni/presentation/IntroActivity.kt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/src/main/java/sopt/uni/presentation/IntroActivity.kt b/app/src/main/java/sopt/uni/presentation/IntroActivity.kt index 2b7c4d1..c5938ed 100644 --- a/app/src/main/java/sopt/uni/presentation/IntroActivity.kt +++ b/app/src/main/java/sopt/uni/presentation/IntroActivity.kt @@ -7,18 +7,25 @@ import androidx.appcompat.app.AppCompatActivity import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen import dagger.hilt.android.AndroidEntryPoint import sopt.uni.data.datasource.local.SparkleStorage +import sopt.uni.data.repository.shortgame.ShortGameRepository import sopt.uni.presentation.home.HomeActivity import sopt.uni.presentation.invite.NickNameActivity import sopt.uni.presentation.onboarding.OnBoardingActivity import sopt.uni.util.extension.startActivity +import javax.inject.Inject @AndroidEntryPoint class IntroActivity : AppCompatActivity() { + @Inject + lateinit var shortGameRepository: ShortGameRepository override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) installSplashScreen() checkUserStatus() + + // 메모장 초기화 + shortGameRepository.setMemoText("") } private fun checkUserStatus() {