Fix incorrect bottom padding color

This commit is contained in:
Aleksandras Kostarevas 2024-05-07 16:22:55 -05:00
parent 193c0078ee
commit 951c24e1c9
2 changed files with 2 additions and 1 deletions

View File

@ -124,6 +124,7 @@ class LatinIME : InputMethodService(), LifecycleOwner, ViewModelStoreOwner, Save
val themeOption get() = activeThemeOption val themeOption get() = activeThemeOption
val colorScheme get() = activeColorScheme val colorScheme get() = activeColorScheme
val keyboardColor get() = drawableProvider?.primaryKeyboardColor?.let { androidx.compose.ui.graphics.Color(it) } ?: colorScheme.surface
private var drawableProvider: DynamicThemeProvider? = null private var drawableProvider: DynamicThemeProvider? = null

View File

@ -412,7 +412,7 @@ class UixManager(private val latinIME: LatinIME) {
Spacer(modifier = Modifier.weight(1.0f)) Spacer(modifier = Modifier.weight(1.0f))
Surface(modifier = Modifier.onSizeChanged { Surface(modifier = Modifier.onSizeChanged {
latinIME.updateTouchableHeight(it.height) latinIME.updateTouchableHeight(it.height)
}) { }, color = latinIME.keyboardColor) {
Box { Box {
Column { Column {
when { when {