mirror of
https://github.com/koreader/koreader
synced 2024-10-31 21:20:20 +00:00
617ed2c078
Co-authored-by: gbyl <gbyl@users.noreply.github.com> Co-authored-by: NiLuJe <ninuje@gmail.com>
26 lines
714 B
Lua
26 lines
714 B
Lua
local _ = require("gettext")
|
|
|
|
return {
|
|
text = _("Page turns"),
|
|
sub_item_table = {
|
|
{
|
|
text = _("Disable taps"),
|
|
checked_func = function()
|
|
return G_reader_settings:isTrue("page_turns_disable_tap")
|
|
end,
|
|
callback = function()
|
|
G_reader_settings:toggle("page_turns_disable_tap")
|
|
end
|
|
},
|
|
{
|
|
text = _("Disable swipes"),
|
|
checked_func = function()
|
|
return G_reader_settings:isTrue("page_turns_disable_swipe")
|
|
end,
|
|
callback = function()
|
|
G_reader_settings:toggle("page_turns_disable_swipe")
|
|
end
|
|
},
|
|
}
|
|
}
|