Updated on 2026-08-14

This commit is contained in:
Tangem 2025-11-17 11:20:04 +03:00
parent 30011acc2e
commit 01c539a111
9 changed files with 9 additions and 4 deletions

View file

@ -66,7 +66,7 @@ fun TangemTheme(
) {
val themeColors = if (isDark) darkThemeColors() else lightThemeColors()
val rememberedColors = remember { themeColors }
.also { it.update(themeColors) }
.apply { update(themeColors) }
val systemUiController = rememberSystemUiController()
val systemBarsIconsController = remember(systemUiController) { SystemBarsIconsController(systemUiController) }

View file

@ -13,7 +13,7 @@ import androidx.compose.runtime.*
fun TangemThemeRedesign(content: @Composable () -> Unit) {
val themeColors = if (LocalIsInDarkTheme.current) darkThemeColors() else lightThemeColors(redesign = true)
val rememberedColors = remember { themeColors }
.also { it.update(themeColors) }
.apply { update(themeColors) }
val rootBackgroundColor = rememberedColors.background.secondary
MaterialTheme(