mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
MenuSorter: fix outside testability (for potential unit tests)
This commit is contained in:
@@ -48,8 +48,8 @@ function ReaderWikipedia:lookupInput()
|
||||
UIManager:show(self.input_dialog)
|
||||
end
|
||||
|
||||
function ReaderWikipedia:addToMainMenu(tab_item_table)
|
||||
self.ui.menu.menu_items.wikipedia_lookup = {
|
||||
function ReaderWikipedia:addToMainMenu(menu_items)
|
||||
menu_items.wikipedia_lookup = {
|
||||
text = _("Wikipedia lookup"),
|
||||
callback = function()
|
||||
if NetworkMgr:isOnline() then
|
||||
|
||||
Reference in New Issue
Block a user