mirror of
https://github.com/SimpleMobileTools/Simple-Keyboard.git
synced 2025-06-05 21:49:26 +02:00
fix: formatting
This commit is contained in:
@ -360,11 +360,11 @@ class MyKeyboard {
|
|||||||
}
|
}
|
||||||
inKey = true
|
inKey = true
|
||||||
key = createKeyFromXml(res, currentRow!!, x, y, parser)
|
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
|
// Removes numbers (i.e 0-9) from the popupCharacters if numbers row is enabled
|
||||||
key.apply{
|
key.apply {
|
||||||
popupCharacters = popupCharacters?.replace(Regex("\\d+"), "")
|
popupCharacters = popupCharacters?.replace(Regex("\\d+"), "")
|
||||||
if(popupCharacters.isNullOrEmpty()){
|
if (popupCharacters.isNullOrEmpty()) {
|
||||||
popupResId = 0
|
popupResId = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user