screensaver options only apply to Kobo devices

This commit is contained in:
chrox
2014-11-13 12:59:02 +08:00
parent cfa4f03c18
commit edb124471d

View File

@@ -152,7 +152,7 @@ function ReaderMenu:setUpdateItemTable()
end
})
if KOBO_SCREEN_SAVER_LAST_BOOK then
if Device:isKobo() and KOBO_SCREEN_SAVER_LAST_BOOK then
local excluded = function()
return self.ui.doc_settings:readSetting("exclude_screensaver") or false
end