File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
app/src/main/java/com/osfans/trime/ime/symbol Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ class LiquidKeyboard(
80
80
setOnDebouncedItemClick { _, _, position ->
81
81
val item = items[position]
82
82
when (currentBoardType) {
83
- SymbolBoardType .SYMBOL -> triggerSymbolInput(item.first )
83
+ SymbolBoardType .SYMBOL -> triggerSymbolInput(item.second )
84
84
SymbolBoardType .TABS -> {
85
85
val realPosition = TabManager .tabTags.indexOfFirst { it.text == item.first }
86
86
select(realPosition)
@@ -160,7 +160,8 @@ class LiquidKeyboard(
160
160
val items =
161
161
data.map {
162
162
val text = if (tag.type == SymbolBoardType .SYMBOL ) it.label else it.text
163
- text to " "
163
+ val value = if (tag.type == SymbolBoardType .SYMBOL ) it.text else " "
164
+ text to value
164
165
}
165
166
initVarLengthKeys(items)
166
167
}
You can’t perform that action at this time.
0 commit comments