mirror of
https://github.com/koreader/koreader
synced 2024-10-31 21:20:20 +00:00
13 lines
292 B
Lua
13 lines
292 B
Lua
|
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,
|
||
|
}
|
||
|
|