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 4a41f54 commit 98846be
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ 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
Expand All @@ -39,11 +38,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 98846be

Please sign in to comment.