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:
@@ -436,12 +436,12 @@ end
|
||||
|
||||
function ReaderToc:addToMainMenu(tab_item_table)
|
||||
-- insert table to main reader menu
|
||||
table.insert(tab_item_table.navi, 1, {
|
||||
self.ui.menu.menu_items["table_of_contents"] = {
|
||||
text = self.toc_menu_title,
|
||||
callback = function()
|
||||
self:onShowToc()
|
||||
end,
|
||||
})
|
||||
}
|
||||
end
|
||||
|
||||
return ReaderToc
|
||||
|
||||
Reference in New Issue
Block a user