mirror of https://github.com/koreader/koreader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
714 B
Lua
26 lines
714 B
Lua
3 years ago
|
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
|
||
|
},
|
||
|
}
|
||
|
}
|