MenuSorter: fix outside testability (for potential unit tests)
This commit is contained in:
1 parent
653ff64438
commit
a970a1f034
27 files changed
+58
-56
No files matched your search
@@ -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