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:
@@ -64,9 +64,9 @@ function ReaderHighlight:onReaderReady()
|
||||
self:setupTouchZones()
|
||||
end
|
||||
|
||||
function ReaderHighlight:addToMainMenu(tab_item_table)
|
||||
function ReaderHighlight:addToMainMenu(menu_items)
|
||||
-- insert table to main reader menu
|
||||
self.ui.menu.menu_items.highlight_options = {
|
||||
menu_items.highlight_options = {
|
||||
text = _("Highlight options"),
|
||||
sub_item_table = self:genHighlightDrawerMenu(),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user