diff --git a/app/src/main/java/io/legado/app/ui/widget/keyboard/KeyboardToolPop.kt b/app/src/main/java/io/legado/app/ui/widget/keyboard/KeyboardToolPop.kt index 86bc3ffe5..2656ef0c5 100644 --- a/app/src/main/java/io/legado/app/ui/widget/keyboard/KeyboardToolPop.kt +++ b/app/src/main/java/io/legado/app/ui/widget/keyboard/KeyboardToolPop.kt @@ -106,7 +106,7 @@ class KeyboardToolPop( SelectItem(context.getString(R.string.assists_key_config), "keyConfig") ) items.addAll(callBack.helpActions()) - context.selector(context.getString(R.string.help), items) { _, selectItem, i -> + context.selector(context.getString(R.string.help), items) { _, selectItem, _ -> when (selectItem.value) { "keyConfig" -> config() else -> callBack.onHelpActionSelect(selectItem.value)