|
|
@ -17,10 +17,17 @@ package com.keylesspalace.tusky |
|
|
|
|
|
|
|
|
|
|
|
import android.content.Intent |
|
|
|
import android.content.Intent |
|
|
|
import android.os.Bundle |
|
|
|
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 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?) { |
|
|
|
override fun onCreate(savedInstanceState: Bundle?) { |
|
|
|
super.onCreate(savedInstanceState) |
|
|
|
super.onCreate(savedInstanceState) |
|
|
@ -39,4 +46,5 @@ class SplashActivity : BaseActivity() { |
|
|
|
startActivity(intent) |
|
|
|
startActivity(intent) |
|
|
|
finish() |
|
|
|
finish() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|