mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
CoverBrowser info_cache: move to core (#13018)
Some checks failed
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (10.15, 13, x86-64, 15.2) (push) Has been cancelled
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (11.0, 14, ARM64, 15.4) (push) Has been cancelled
Some checks failed
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (10.15, 13, x86-64, 15.2) (push) Has been cancelled
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (11.0, 14, ARM64, 15.4) (push) Has been cancelled
This commit is contained in:
@@ -5,6 +5,7 @@ It works using data gathered from a document interface.
|
||||
]]--
|
||||
|
||||
local BD = require("ui/bidi")
|
||||
local BookList = require("ui/widget/booklist")
|
||||
local Device = require("device")
|
||||
local DeviceListener = require("device/devicelistener")
|
||||
local DocCache = require("document/doccache")
|
||||
@@ -814,6 +815,7 @@ function ReaderUI:onClose(full_refresh)
|
||||
self:saveSettings()
|
||||
end
|
||||
if self.document ~= nil then
|
||||
BookList.setBookInfoCache(self.document.file, self.doc_settings)
|
||||
require("readhistory"):updateLastBookTime(self.tearing_down)
|
||||
-- Serialize the most recently displayed page for later launch
|
||||
DocCache:serialize(self.document.file)
|
||||
|
||||
Reference in New Issue
Block a user