Collections: sort (#13264)
Some checks are pending
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Waiting to run
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Waiting to run

This commit is contained in:
hius07
2025-02-22 10:17:19 +02:00
committed by GitHub
parent a641207f79
commit 7c45700ceb
6 changed files with 498 additions and 303 deletions

View File

@@ -813,6 +813,7 @@ function ReaderUI:onClose(full_refresh)
if self.document ~= nil then
file = self.document.file
require("readhistory"):updateLastBookTime(self.tearing_down)
require("readcollection"):updateLastBookTime(file)
-- Serialize the most recently displayed page for later launch
DocCache:serialize(file)
logger.dbg("closing document")