2
0
mirror of https://github.com/koreader/koreader synced 2024-11-13 19:11:25 +00:00
koreader/frontend/ui/screen.lua

9 lines
219 B
Lua
Raw Normal View History

-- compatibility wrapper
local Screen = require("device").screen
-- set eink flag for this screen
local is_eink = G_reader_settings:readSetting("eink")
Screen.eink = (is_eink == nil) and true or is_eink
return Screen