From fafb40df20436b5662bb632e376153c08b17e349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolf-Martell=20Montw=C3=A9?= Date: Mon, 29 Apr 2024 16:28:29 +0200 Subject: [PATCH] Change status and navigation bar colors to surfaceContainer --- .../main/java/app/k9mail/ui/catalog/CatalogActivity.kt | 5 ++--- app/ui/legacy/src/main/res/values-v23/themes.xml | 10 ++++++---- app/ui/legacy/src/main/res/values-v27/themes.xml | 8 ++++---- app/ui/legacy/src/main/res/values/themes.xml | 8 ++++---- .../app/k9mail/core/ui/compose/theme2/SystemBar.kt | 4 ++-- 5 files changed, 18 insertions(+), 17 deletions(-) diff --git a/app-ui-catalog/src/main/java/app/k9mail/ui/catalog/CatalogActivity.kt b/app-ui-catalog/src/main/java/app/k9mail/ui/catalog/CatalogActivity.kt index 799e9c7d115..41b45a446d1 100644 --- a/app-ui-catalog/src/main/java/app/k9mail/ui/catalog/CatalogActivity.kt +++ b/app-ui-catalog/src/main/java/app/k9mail/ui/catalog/CatalogActivity.kt @@ -2,19 +2,18 @@ package app.k9mail.ui.catalog import android.os.Bundle import androidx.activity.ComponentActivity +import androidx.activity.enableEdgeToEdge import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen -import androidx.core.view.WindowCompat import app.k9mail.core.ui.compose.common.activity.setActivityContent import app.k9mail.ui.catalog.ui.CatalogScreen class CatalogActivity : ComponentActivity() { override fun onCreate(savedInstanceState: Bundle?) { installSplashScreen() + enableEdgeToEdge() super.onCreate(savedInstanceState) - WindowCompat.setDecorFitsSystemWindows(window, false) - setActivityContent { CatalogScreen() } diff --git a/app/ui/legacy/src/main/res/values-v23/themes.xml b/app/ui/legacy/src/main/res/values-v23/themes.xml index 9f89ee20052..0de4be1135f 100644 --- a/app/ui/legacy/src/main/res/values-v23/themes.xml +++ b/app/ui/legacy/src/main/res/values-v23/themes.xml @@ -2,15 +2,17 @@ diff --git a/app/ui/legacy/src/main/res/values-v27/themes.xml b/app/ui/legacy/src/main/res/values-v27/themes.xml index 16aa84bf0be..473ffa181f0 100644 --- a/app/ui/legacy/src/main/res/values-v27/themes.xml +++ b/app/ui/legacy/src/main/res/values-v27/themes.xml @@ -2,18 +2,18 @@ diff --git a/app/ui/legacy/src/main/res/values/themes.xml b/app/ui/legacy/src/main/res/values/themes.xml index ede82b87572..ebce72c8652 100644 --- a/app/ui/legacy/src/main/res/values/themes.xml +++ b/app/ui/legacy/src/main/res/values/themes.xml @@ -200,13 +200,13 @@