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:
@@ -67,9 +67,9 @@ local function isSwipeToFollowFirstLinkEnabled()
|
||||
return G_reader_settings:readSetting("swipe_to_follow_first_link") == true
|
||||
end
|
||||
|
||||
function ReaderLink:addToMainMenu(tab_item_table)
|
||||
function ReaderLink:addToMainMenu(menu_items)
|
||||
-- insert table to main reader menu
|
||||
self.ui.menu.menu_items.follow_links = {
|
||||
menu_items.follow_links = {
|
||||
text = _("Follow links"),
|
||||
sub_item_table = {
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user