mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[UX] Adds "Enable back history" menu item (#4443)
For a hidden setting already present, and used in /apps/reader/modules/readerback.lua Only shown, as the whole Navigation> submenu, on devices with keys.
This commit is contained in:
@@ -190,6 +190,15 @@ if Device:hasKeys() then
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
text = _("Enable back history"),
|
||||
checked_func = function()
|
||||
return G_reader_settings:nilOrTrue("enable_back_history")
|
||||
end,
|
||||
callback = function()
|
||||
G_reader_settings:flipNilOrTrue("enable_back_history")
|
||||
end,
|
||||
},
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user