2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00
koreader/frontend/ui/elements/flash_ui.lua

12 lines
268 B
Lua
Raw Normal View History

local _ = require("gettext")
return {
text = _("Flash buttons and menu items"),
checked_func = function()
return G_reader_settings:nilOrTrue("flash_ui")
end,
callback = function()
G_reader_settings:flipNilOrTrue("flash_ui")
end,
}