mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
MenuSorter: review comments and various bug fixes
* fixed wrongful retention of submenus variable and added return to MenuSorter:findById * fixed readerfooter_spec.lua error * fixed review comments
This commit is contained in:
@@ -310,7 +310,7 @@ end
|
||||
|
||||
function ReaderZooming:addToMainMenu(tab_item_table)
|
||||
if self.ui.document.info.has_pages then
|
||||
self.ui.menu.menu_items["switch_zoom_mode"] = {
|
||||
self.ui.menu.menu_items.switch_zoom_mode = {
|
||||
text = _("Switch zoom mode"),
|
||||
enabled_func = function()
|
||||
return self.ui.document.configurable.text_wrap ~= 1
|
||||
|
||||
Reference in New Issue
Block a user