2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00
koreader/frontend/ui/elements/avoid_flashing_ui.lua

13 lines
292 B
Lua
Raw Normal View History

local _ = require("gettext")
return {
text = _("Avoid mandatory black flashes in UI"),
checked_func = function()
return G_reader_settings:isTrue("avoid_flashing_ui")
end,
callback = function()
G_reader_settings:flipNilOrFalse("avoid_flashing_ui")
end,
}