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
@@ -32,8 +32,8 @@ function ReaderStatus:init()
|
||||
end
|
||||
end
|
||||
|
||||
function ReaderStatus:addToMainMenu(tab_item_table)
|
||||
self.ui.menu.menu_items.book_status = {
|
||||
function ReaderStatus:addToMainMenu(menu_items)
|
||||
menu_items.book_status = {
|
||||
text = _("Book status"),
|
||||
callback = function()
|
||||
self:showStatus()
|
||||
|
||||
Reference in new issue
Block a user