mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix incorrect bottom padding color
This commit is contained in:
parent
193c0078ee
commit
951c24e1c9
@ -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
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user