fix: formatting

This commit is contained in:
ismailnurudeen 2023-04-24 13:51:19 +01:00
parent 3972a917b8
commit 8b0d59781b

View file

@ -360,11 +360,11 @@ class MyKeyboard {
}
inKey = true
key = createKeyFromXml(res, currentRow!!, x, y, parser)
if(context.config.showNumbersRow){
if (context.config.showNumbersRow) {
// Removes numbers (i.e 0-9) from the popupCharacters if numbers row is enabled
key.apply{
key.apply {
popupCharacters = popupCharacters?.replace(Regex("\\d+"), "")
if(popupCharacters.isNullOrEmpty()){
if (popupCharacters.isNullOrEmpty()) {
popupResId = 0
}
}