From f5a504077cee09dd43192a1aafce812f4359d9eb Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Thu, 24 Apr 2025 16:55:21 -0400 Subject: [PATCH] Keeps the transparency settings for statusbar and navigation for now. --- .../src/main/java/com/vitorpamplona/amethyst/ui/theme/Theme.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/theme/Theme.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/theme/Theme.kt index f0dc23448..ff1043e4c 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/theme/Theme.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/theme/Theme.kt @@ -542,7 +542,9 @@ fun AmethystTheme( insets.isAppearanceLightNavigationBars = !darkTheme insets.isAppearanceLightStatusBars = !darkTheme + @Suppress("DEPRECATION") window.statusBarColor = colors.transparentBackground.toArgb() + @Suppress("DEPRECATION") window.navigationBarColor = colors.transparentBackground.toArgb() view.setBackgroundColor(colors.background.toArgb())