diff --git a/app/src/main/java/com/keylesspalace/tusky/SplashActivity.kt b/app/src/main/java/com/keylesspalace/tusky/SplashActivity.kt index 57959955e..8c6a877a1 100644 --- a/app/src/main/java/com/keylesspalace/tusky/SplashActivity.kt +++ b/app/src/main/java/com/keylesspalace/tusky/SplashActivity.kt @@ -17,10 +17,17 @@ package com.keylesspalace.tusky import android.content.Intent import android.os.Bundle +import androidx.appcompat.app.AppCompatActivity +import com.keylesspalace.tusky.db.AccountManager +import com.keylesspalace.tusky.di.Injectable import com.keylesspalace.tusky.util.NotificationHelper +import javax.inject.Inject -class SplashActivity : BaseActivity() { +class SplashActivity : AppCompatActivity(), Injectable { + + @Inject + lateinit var accountManager: AccountManager override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) @@ -39,4 +46,5 @@ class SplashActivity : BaseActivity() { startActivity(intent) finish() } + } diff --git a/app/src/main/res/values-v27/styles.xml b/app/src/main/res/values-v27/styles.xml index 5e0246e43..27b20b9d5 100644 --- a/app/src/main/res/values-v27/styles.xml +++ b/app/src/main/res/values-v27/styles.xml @@ -2,6 +2,7 @@