mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-21 06:39:09 +00:00
Show popup hints on number row
This commit is contained in:
parent
8931f79b62
commit
1fe28997f7
1 changed files with 1 additions and 2 deletions
|
@ -89,8 +89,7 @@ class KeyboardParser(private val params: KeyboardParams, private val context: Co
|
||||||
if (params.mId.isAlphabetKeyboard)
|
if (params.mId.isAlphabetKeyboard)
|
||||||
addSymbolPopupKeys(baseKeys)
|
addSymbolPopupKeys(baseKeys)
|
||||||
if (params.mId.isAlphaOrSymbolKeyboard && params.mId.mNumberRowEnabled)
|
if (params.mId.isAlphaOrSymbolKeyboard && params.mId.mNumberRowEnabled)
|
||||||
baseKeys.add(0, numberRow
|
baseKeys.add(0, numberRow.mapTo(mutableListOf()) { it.copy(newLabelFlags = defaultLabelFlags) })
|
||||||
.mapTo(mutableListOf()) { it.copy(newLabelFlags = Key.LABEL_FLAGS_DISABLE_HINT_LABEL or defaultLabelFlags) })
|
|
||||||
if (!params.mAllowRedundantPopupKeys)
|
if (!params.mAllowRedundantPopupKeys)
|
||||||
params.baseKeys = baseKeys.flatMap { it.map { it.toKeyParams(params) } }
|
params.baseKeys = baseKeys.flatMap { it.map { it.toKeyParams(params) } }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue