Apply suggestions from code review

pull/11678/head
SomeGuy 3 weeks ago committed by GitHub
parent 3263000c14
commit 58ff86b760
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1018,11 +1018,11 @@ function ReaderFooter:addToMainMenu(menu_items)
text_func = function()
return self:textOptionTitles(option)
end,
help_text = type(option_help_text[option]) == "string"
and option_help_text[option],
help_text_func = type(option_help_text[option]) == "function" and
function(touchmenu_instance)
option_help_text[option](self, touchmenu_instance)
help_text = type(option_help_text[option]) == "string"
and option_help_text[option],
help_text_func = type(option_help_text[option]) == "function" and
function(touchmenu_instance)
option_help_text[option](self, touchmenu_instance)
end,
checked_func = function()
return self.settings[option] == true

Loading…
Cancel
Save