mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-15 06:22:45 +00:00
Fix background suggestions for dynamic colors (#375)
Only the material style without key border is affected
This commit is contained in:
parent
66267f8ce5
commit
058317b449
1 changed files with 1 additions and 2 deletions
|
@ -271,8 +271,7 @@ class DynamicColors(context: Context, override val themeStyle: String, override
|
|||
ACTION_KEY_BACKGROUND -> actionKeyStateList
|
||||
SPACE_BAR_BACKGROUND -> spaceBarStateList
|
||||
MORE_KEYS_BACKGROUND -> adjustedBackgroundStateList
|
||||
SUGGESTION_BACKGROUND -> if (!hasKeyBorders && themeStyle == STYLE_MATERIAL) adjustedBackgroundStateList
|
||||
else backgroundStateList
|
||||
SUGGESTION_BACKGROUND -> backgroundStateList
|
||||
ACTION_KEY_MORE_KEYS_BACKGROUND -> if (themeStyle == STYLE_HOLO) adjustedBackgroundStateList
|
||||
else actionKeyStateList
|
||||
TOOL_BAR_KEY -> toolbarKeyStateList
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue