Merge pull request #7296 from thundernest/app_language_in_compose_land
Respect app theme and app language settings in `FeatureLauncherActivity`
This commit is contained in:
commit
a6e6b20fe5
2 changed files with 3 additions and 2 deletions
|
@ -18,6 +18,7 @@ android {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(projects.core.ui.compose.designsystem)
|
implementation(projects.core.ui.compose.designsystem)
|
||||||
|
implementation(projects.app.ui.base)
|
||||||
implementation(projects.feature.onboarding)
|
implementation(projects.feature.onboarding)
|
||||||
implementation(projects.feature.account.setup)
|
implementation(projects.feature.account.setup)
|
||||||
implementation(projects.feature.account.edit)
|
implementation(projects.feature.account.edit)
|
||||||
|
|
|
@ -3,7 +3,6 @@ package app.k9mail.feature.launcher
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.content.Intent
|
import android.content.Intent
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import androidx.activity.ComponentActivity
|
|
||||||
import androidx.core.view.WindowCompat
|
import androidx.core.view.WindowCompat
|
||||||
import app.k9mail.core.ui.compose.common.activity.setActivityContent
|
import app.k9mail.core.ui.compose.common.activity.setActivityContent
|
||||||
import app.k9mail.core.ui.compose.common.navigation.toDeepLinkUri
|
import app.k9mail.core.ui.compose.common.navigation.toDeepLinkUri
|
||||||
|
@ -13,8 +12,9 @@ import app.k9mail.feature.account.edit.navigation.withAccountUuid
|
||||||
import app.k9mail.feature.account.setup.navigation.NAVIGATION_ROUTE_ACCOUNT_SETUP
|
import app.k9mail.feature.account.setup.navigation.NAVIGATION_ROUTE_ACCOUNT_SETUP
|
||||||
import app.k9mail.feature.launcher.ui.FeatureLauncherApp
|
import app.k9mail.feature.launcher.ui.FeatureLauncherApp
|
||||||
import app.k9mail.feature.onboarding.navigation.NAVIGATION_ROUTE_ONBOARDING
|
import app.k9mail.feature.onboarding.navigation.NAVIGATION_ROUTE_ONBOARDING
|
||||||
|
import com.fsck.k9.ui.base.K9Activity
|
||||||
|
|
||||||
class FeatureLauncherActivity : ComponentActivity() {
|
class FeatureLauncherActivity : K9Activity() {
|
||||||
|
|
||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
|
|
Loading…
Reference in a new issue