From 18191c691b052b565ce4e13f9303a722d45333e2 Mon Sep 17 00:00:00 2001 From: cketti Date: Wed, 25 Oct 2023 21:44:57 +0200 Subject: [PATCH] Respect app theme and app language settings in `FeatureLauncherActivity` --- feature/launcher/build.gradle.kts | 1 + .../app/k9mail/feature/launcher/FeatureLauncherActivity.kt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/feature/launcher/build.gradle.kts b/feature/launcher/build.gradle.kts index e28f2540e..c7d08c7ad 100644 --- a/feature/launcher/build.gradle.kts +++ b/feature/launcher/build.gradle.kts @@ -18,6 +18,7 @@ android { dependencies { implementation(projects.core.ui.compose.designsystem) + implementation(projects.app.ui.base) implementation(projects.feature.onboarding) implementation(projects.feature.account.setup) implementation(projects.feature.account.edit) diff --git a/feature/launcher/src/main/kotlin/app/k9mail/feature/launcher/FeatureLauncherActivity.kt b/feature/launcher/src/main/kotlin/app/k9mail/feature/launcher/FeatureLauncherActivity.kt index e43d70f24..af2050bb9 100644 --- a/feature/launcher/src/main/kotlin/app/k9mail/feature/launcher/FeatureLauncherActivity.kt +++ b/feature/launcher/src/main/kotlin/app/k9mail/feature/launcher/FeatureLauncherActivity.kt @@ -3,7 +3,6 @@ package app.k9mail.feature.launcher import android.content.Context import android.content.Intent import android.os.Bundle -import androidx.activity.ComponentActivity import androidx.core.view.WindowCompat import app.k9mail.core.ui.compose.common.activity.setActivityContent 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.launcher.ui.FeatureLauncherApp 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?) { super.onCreate(savedInstanceState)