ReaderLink: option to add location to stack on opening book (#7685)

This commit is contained in:
yparitcher
2021-05-31 14:28:43 -04:00
committed by GitHub
parent d5a2df3c04
commit b30e366ccd
4 changed files with 17 additions and 0 deletions

View File

@@ -436,6 +436,15 @@ if Device:hasKeys() then
end,
}
end
common_settings.opening_page_location_stack = {
text = _("Add opening page to location history"),
checked_func = function()
return G_reader_settings:isTrue("opening_page_location_stack")
end,
callback = function()
G_reader_settings:flipNilOrFalse("opening_page_location_stack")
end,
}
-- Auto-save settings: default value, info text and warning, and menu items
if G_reader_settings:hasNot("auto_save_settings_interval_minutes") then