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
@@ -43,9 +43,9 @@ function ReaderBookmark:init()
|
||||
self.ui.menu:registerToMainMenu(self)
|
||||
end
|
||||
|
||||
function ReaderBookmark:addToMainMenu(tab_item_table)
|
||||
function ReaderBookmark:addToMainMenu(menu_items)
|
||||
-- insert table to main reader menu
|
||||
self.ui.menu.menu_items.bookmarks = {
|
||||
menu_items.bookmarks = {
|
||||
text = self.bm_menu_title,
|
||||
callback = function()
|
||||
self:onShowBookmark()
|
||||
|
||||
Reference in new issue
Block a user