refactor: remove unnecessary LaunchActivity injection

This commit is contained in:
Harsh Shandilya 2022-10-29 14:38:35 +05:30
parent c175a8f7d5
commit 99bfccf945
No known key found for this signature in database

View file

@ -17,17 +17,11 @@ import app.passwordstore.ui.passwords.PasswordStore
import app.passwordstore.util.auth.BiometricAuthenticator import app.passwordstore.util.auth.BiometricAuthenticator
import app.passwordstore.util.auth.BiometricAuthenticator.Result import app.passwordstore.util.auth.BiometricAuthenticator.Result
import app.passwordstore.util.extensions.sharedPrefs import app.passwordstore.util.extensions.sharedPrefs
import app.passwordstore.util.features.Features
import app.passwordstore.util.settings.PreferenceKeys import app.passwordstore.util.settings.PreferenceKeys
import dagger.hilt.android.AndroidEntryPoint
import javax.inject.Inject
@AndroidEntryPoint
@SuppressLint("CustomSplashScreen") @SuppressLint("CustomSplashScreen")
class LaunchActivity : AppCompatActivity() { class LaunchActivity : AppCompatActivity() {
@Inject lateinit var features: Features
override fun onCreate(savedInstanceState: Bundle?) { override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
val prefs = sharedPrefs val prefs = sharedPrefs