|
|
@ -378,7 +378,6 @@ function ReaderRolling:addToMainMenu(menu_items)
|
|
|
|
choice1_text_func = function()
|
|
|
|
choice1_text_func = function()
|
|
|
|
return inverse_reading_order and _("LTR") or _("LTR (★)")
|
|
|
|
return inverse_reading_order and _("LTR") or _("LTR (★)")
|
|
|
|
end,
|
|
|
|
end,
|
|
|
|
choice1_enabled = inverse_reading_order,
|
|
|
|
|
|
|
|
choice1_callback = function()
|
|
|
|
choice1_callback = function()
|
|
|
|
G_reader_settings:saveSetting("inverse_reading_order", false)
|
|
|
|
G_reader_settings:saveSetting("inverse_reading_order", false)
|
|
|
|
if touchmenu_instance then touchmenu_instance:updateItems() end
|
|
|
|
if touchmenu_instance then touchmenu_instance:updateItems() end
|
|
|
@ -386,7 +385,6 @@ function ReaderRolling:addToMainMenu(menu_items)
|
|
|
|
choice2_text_func = function()
|
|
|
|
choice2_text_func = function()
|
|
|
|
return inverse_reading_order and _("RTL (★)") or _("RTL")
|
|
|
|
return inverse_reading_order and _("RTL (★)") or _("RTL")
|
|
|
|
end,
|
|
|
|
end,
|
|
|
|
choice2_enabled = not inverse_reading_order,
|
|
|
|
|
|
|
|
choice2_callback = function()
|
|
|
|
choice2_callback = function()
|
|
|
|
G_reader_settings:saveSetting("inverse_reading_order", true)
|
|
|
|
G_reader_settings:saveSetting("inverse_reading_order", true)
|
|
|
|
if touchmenu_instance then touchmenu_instance:updateItems() end
|
|
|
|
if touchmenu_instance then touchmenu_instance:updateItems() end
|
|
|
|