Skip to content

Commit

Permalink
#156/메모장 초기화 로직 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
rkdmf1026 authored and taeheeL committed Dec 10, 2023
1 parent 440a079 commit 59525f1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/src/main/java/sopt/uni/presentation/IntroActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 59525f1

Please sign in to comment.