2013-10-22 15:11:31 +00:00
|
|
|
-- compatibility wrapper
|
2015-01-24 16:53:04 +00:00
|
|
|
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
|