mirror of
https://github.com/koreader/koreader
synced 2024-11-13 19:11:25 +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,
|
||
|
}
|
||
|
|