pull/1710/head
kunfei 3 years ago
parent aad42a44a0
commit bbc7652727
  1. 2
      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") SelectItem(context.getString(R.string.assists_key_config), "keyConfig")
) )
items.addAll(callBack.helpActions()) 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) { when (selectItem.value) {
"keyConfig" -> config() "keyConfig" -> config()
else -> callBack.onHelpActionSelect(selectItem.value) else -> callBack.onHelpActionSelect(selectItem.value)

Loading…
Cancel
Save