mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Update uimanager.lua
This commit is contained in:
@@ -92,7 +92,7 @@ function UIManager:init()
|
||||
if (input_event == "Power" or input_event == "Suspend")
|
||||
and not Device.screen_saver_mode then
|
||||
if not UIManager.suspend_msg then
|
||||
if KOBO_SCREEN_SAVER then
|
||||
if type(KOBO_SCREEN_SAVER) == "string" then
|
||||
local file = KOBO_SCREEN_SAVER
|
||||
if lfs.attributes(file, "mode") == "directory" then
|
||||
if string.sub(file,string.len(file)) ~= "/" then
|
||||
|
||||
Reference in New Issue
Block a user