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
@@ -117,9 +117,9 @@ function ReaderHyphenation:onSaveSettings()
|
||||
self.ui.doc_settings:saveSetting("hyph_alg", self.hyph_alg)
|
||||
end
|
||||
|
||||
function ReaderHyphenation:addToMainMenu(tab_item_table)
|
||||
function ReaderHyphenation:addToMainMenu(menu_items)
|
||||
-- insert table to main reader menu
|
||||
self.ui.menu.menu_items.hyphenation = {
|
||||
menu_items.hyphenation = {
|
||||
text = self.hyph_menu_title,
|
||||
sub_item_table = self.hyph_table,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user