mirror of
https://github.com/SimpleMobileTools/Simple-Keyboard.git
synced 2025-01-31 10:24:45 +01:00
fix: set secondaryIcon color to textColor
This commit is contained in:
parent
a17421b84b
commit
b14f7c67cc
@ -609,8 +609,10 @@ class MyKeyboardView @JvmOverloads constructor(context: Context, attrs: Attribut
|
||||
|
||||
if (code == KEYCODE_ENTER) {
|
||||
key.icon!!.applyColorFilter(mPrimaryColor.getContrastColor())
|
||||
key.secondaryIcon?.applyColorFilter(mPrimaryColor.getContrastColor())
|
||||
} else if (code == KEYCODE_DELETE || code == KEYCODE_SHIFT || code == KEYCODE_EMOJI) {
|
||||
key.icon!!.applyColorFilter(mTextColor)
|
||||
key.secondaryIcon?.applyColorFilter(mTextColor)
|
||||
}
|
||||
val keyIcon = key.icon!!
|
||||
val secondaryIcon = key.secondaryIcon
|
||||
|
Loading…
x
Reference in New Issue
Block a user