mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Exit to file browser after finishing reading quick start guide (#4009)
This commit is contained in:
@@ -40,6 +40,12 @@ function ReaderStatus:onEndOfBook()
|
||||
local settings = G_reader_settings:readSetting("end_document_action")
|
||||
local choose_action
|
||||
local collate = true
|
||||
local QuickStart = require("ui/quickstart")
|
||||
local last_file = G_reader_settings:readSetting("lastfile")
|
||||
if last_file and last_file == QuickStart.quickstart_filename then
|
||||
self:openFileBrowser()
|
||||
return
|
||||
end
|
||||
if G_reader_settings:readSetting("collate") == "access" then
|
||||
collate = false
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user