screensaver remnants removed, et al.

reviewable/pr11647/r1
SomeGuy 2 months ago committed by GitHub
parent d05c608534
commit dcf0bf4d14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -47,7 +47,7 @@ return {
sub_item_table = { sub_item_table = {
genMenuItem(_("Black fill"), "screensaver_img_background", "black"), genMenuItem(_("Black fill"), "screensaver_img_background", "black"),
genMenuItem(_("White fill"), "screensaver_img_background", "white"), genMenuItem(_("White fill"), "screensaver_img_background", "white"),
genMenuItem(_("Leave background as-is"), "screensaver_img_background", "none", nil, true), genMenuItem(_("No fill"), "screensaver_img_background", "none", nil, true),
-- separator -- separator
{ {
text_func = function() text_func = function()
@ -67,7 +67,7 @@ return {
}, },
}, },
{ {
text = _("Delay screen update after wake-up"), text = _("Wake-up screen delay"),
sub_item_table = { sub_item_table = {
genMenuItem(_("No delay"), "screensaver_delay", "disable"), genMenuItem(_("No delay"), "screensaver_delay", "disable"),
genMenuItem(_("1 second"), "screensaver_delay", "1"), genMenuItem(_("1 second"), "screensaver_delay", "1"),
@ -133,7 +133,7 @@ return {
}, },
{ {
text = _("Background fill"), text = _("Background fill"),
help_text = _("This option will only become available, if you have selected 'Leave screen as-is' as screensaver and have 'Sleep screen message' on."), help_text = _("This option will only become available, if you have selected 'Leave screen as-is' as sleep screen and have 'Sleep screen message' on."),
enabled_func = function() enabled_func = function()
return G_reader_settings:readSetting("screensaver_type") == "disable" and G_reader_settings:isTrue("screensaver_show_message") return G_reader_settings:readSetting("screensaver_type") == "disable" and G_reader_settings:isTrue("screensaver_show_message")
end, end,

Loading…
Cancel
Save