mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
MenuSorter: initial implementation
* Menus are now sanely configurable * Custom separator placement for clearer menus
This commit is contained in:
@@ -49,7 +49,7 @@ function ReaderWikipedia:lookupInput()
|
||||
end
|
||||
|
||||
function ReaderWikipedia:addToMainMenu(tab_item_table)
|
||||
table.insert(tab_item_table.search, {
|
||||
self.ui.menu.menu_items["wikipedia_lookup"] = {
|
||||
text = _("Wikipedia lookup"),
|
||||
callback = function()
|
||||
if NetworkMgr:isOnline() then
|
||||
@@ -58,7 +58,7 @@ function ReaderWikipedia:addToMainMenu(tab_item_table)
|
||||
NetworkMgr:promptWifiOn()
|
||||
end
|
||||
end
|
||||
})
|
||||
}
|
||||
end
|
||||
|
||||
function ReaderWikipedia:initLanguages(word)
|
||||
|
||||
Reference in New Issue
Block a user