2
0
mirror of https://github.com/koreader/koreader synced 2024-11-18 03:25:46 +00:00
koreader/frontend/ui/screen.lua
2015-01-25 00:53:25 +08:00

9 lines
219 B
Lua

-- 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