[fix, Android] hasEinkScreen should be a function (#4557)

Fixes https://github.com/koreader/koreader/pull/4541#issuecomment-461739983
pull/4558/head
Frans de Jonge 5 years ago committed by GitHub
parent 9e65ff4ac9
commit e6b3542bdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,7 +13,7 @@ local Device = Generic:new{
hasKeys = yes,
hasDPad = no,
isAndroid = yes,
hasEinkScreen = android.isEink(),
hasEinkScreen = function() return android.isEink() end,
hasFrontlight = yes,
firmware_rev = android.app.activity.sdkVersion,
display_dpi = android.lib.AConfiguration_getDensity(android.app.config),

Loading…
Cancel
Save