File tree 1 file changed +6
-5
lines changed
app/src/main/java/com/osfans/trime/ime/symbol
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,12 @@ class LiquidKeyboard(private val context: Context) : ClipboardHelper.OnClipboard
90
90
SymbolKeyboardType .VAR_LENGTH -> {
91
91
initVarLengthKeys(TabManager .get().select(i))
92
92
}
93
- SymbolKeyboardType .SYMBOL , SymbolKeyboardType .HISTORY , SymbolKeyboardType .TABS -> {
93
+ SymbolKeyboardType .TABS -> {
94
+ TabManager .get().select(i)
95
+ initVarLengthKeys(TabManager .get().tabSwitchData)
96
+ Timber .v(" All tags in TABS: TabManager.get().tabSwitchData = ${TabManager .get().tabSwitchData} " )
97
+ }
98
+ SymbolKeyboardType .SYMBOL , SymbolKeyboardType .HISTORY -> {
94
99
TabManager .get().select(i)
95
100
initFixData(i)
96
101
}
@@ -162,10 +167,6 @@ class LiquidKeyboard(private val context: Context) : ClipboardHelper.OnClipboard
162
167
when (tabTag.type) {
163
168
SymbolKeyboardType .HISTORY ->
164
169
simpleAdapter.updateBeans(symbolHistory.toOrderedList().map(::SimpleKeyBean ))
165
- SymbolKeyboardType .TABS -> {
166
- simpleAdapter.updateBeans(TabManager .get().tabSwitchData)
167
- Timber .v(" All tags in TABS: TabManager.get().tabSwitchData = ${TabManager .get().tabSwitchData} " )
168
- }
169
170
else ->
170
171
simpleAdapter.updateBeans(TabManager .get().select(i))
171
172
}
You can’t perform that action at this time.
0 commit comments