mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
History: update last book access time (#10156)
This commit is contained in:
@@ -792,6 +792,7 @@ function ReaderUI:onClose(full_refresh)
|
||||
self:saveSettings()
|
||||
end
|
||||
if self.document ~= nil then
|
||||
require("readhistory"):updateLastBookTime(self.tearing_down)
|
||||
-- Serialize the most recently displayed page for later launch
|
||||
DocCache:serialize(self.document.file)
|
||||
logger.dbg("closing document")
|
||||
|
||||
Reference in New Issue
Block a user