Exit to file browser after finishing reading quick start guide (#4009)

pull/4012/head
Robert 6 years ago committed by Frans de Jonge
parent b9141897a3
commit 901a1e46da

@ -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

Loading…
Cancel
Save