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:
@@ -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