mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
android: fix dict overrides (#6887)
- User overrides marked as false were not checked - Actions without app were skipped.
This commit is contained in:
@@ -102,7 +102,7 @@ local Device = Generic:new{
|
||||
doExternalDictLookup = function (self, text, method, callback)
|
||||
external.when_back_callback = callback
|
||||
local _, app, action = external:checkMethod("dict", method)
|
||||
if app and action then
|
||||
if action then
|
||||
android.dictLookup(text, app, action)
|
||||
end
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user