mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
screensaver options only apply to Kobo devices
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user