mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-22 01:34:22 +00:00
update readme and other texts
This commit is contained in:
parent
b98a208b69
commit
615d1711b5
6 changed files with 28 additions and 41 deletions
|
@ -47,7 +47,7 @@ class TextKeyData(
|
|||
return params.mLocaleKeyTexts.currencyKey
|
||||
.let { it.first.toTextKey(it.second.toList(), labelFlags = Key.LABEL_FLAGS_FOLLOW_KEY_LETTER_RATIO) } // the flag is to match old parser, but why for main currency key, but not for others?
|
||||
val n = label.substringAfter("$$$").toIntOrNull()
|
||||
if (n != null && n <= 4)
|
||||
if (n != null && n <= 4 && n > 0)
|
||||
return params.mLocaleKeyTexts.currencyKey.second[n - 1].toTextKey()
|
||||
}
|
||||
return this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue