[UX] Default setting option always enabled (#5580)

as per https://github.com/koreader/koreader/pull/5522#issuecomment-548006595 do not grey out the current default
This commit is contained in:
yparitcher
2019-11-08 15:01:38 -05:00
committed by Frans de Jonge
parent 98555908c8
commit 83b7d8de2b
5 changed files with 0 additions and 10 deletions

View File

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