mirror of
https://github.com/koreader/koreader
synced 2024-11-11 19:11:14 +00:00
9 lines
219 B
Lua
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
|