mirror of
https://github.com/SimpleMobileTools/Simple-Keyboard.git
synced 2025-06-05 21:49:26 +02:00
adding the alternative symbol keyboards
This commit is contained in:
@ -312,7 +312,7 @@ class MyKeyboard {
|
||||
text = a.getText(R.styleable.MyKeyboard_Key_keyOutputText)
|
||||
topSmallNumber = a.getString(R.styleable.MyKeyboard_Key_topSmallNumber) ?: ""
|
||||
|
||||
if (label.isNotEmpty()) {
|
||||
if (label.isNotEmpty() && codes.firstOrNull() != KEYCODE_MODE_CHANGE) {
|
||||
codes = arrayListOf(label[0].toInt())
|
||||
}
|
||||
a.recycle()
|
||||
|
Reference in New Issue
Block a user