Skip to content

Commit

Permalink
chore: Remove code to test SplashScreen
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBoulongne committed Dec 4, 2024
1 parent 38c094d commit c2be662
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ package com.infomaniak.swisstransfer.ui
import android.annotation.SuppressLint
import android.content.Intent
import android.os.Bundle
import android.view.View
import androidx.activity.ComponentActivity
import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen
import com.infomaniak.swisstransfer.ui.utils.AccountUtils
import dagger.hilt.android.AndroidEntryPoint
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.launch
import javax.inject.Inject

@AndroidEntryPoint
Expand All @@ -39,11 +40,8 @@ class LaunchActivity : ComponentActivity() {

super.onCreate(savedInstanceState)

// TODO: Remove this after SplashScreen tests.
findViewById<View>(android.R.id.content).viewTreeObserver.addOnPreDrawListener { false }

// startTargetActivity()
// finish()
startTargetActivity()
finish()
}

private fun startTargetActivity() {
Expand Down

0 comments on commit c2be662

Please sign in to comment.