mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[fix] CoverBrowser: fix calling upvalue crash in MosaicMenu (#10164)
Regression introduced in #10140.
This commit is contained in:
@@ -577,7 +577,7 @@ function MosaicMenuItem:update()
|
||||
if DocSettings:hasSidecarFile(self.filepath) then
|
||||
self.been_opened = true
|
||||
self.menu:updateCache(self.filepath, nil, true, bookinfo.pages) -- create new cache entry if absent
|
||||
_, percent_finished, status = unpack(self.menu.cover_info_cache[self.filepath])
|
||||
dummy, percent_finished, status = unpack(self.menu.cover_info_cache[self.filepath])
|
||||
end
|
||||
self.percent_finished = percent_finished
|
||||
self.status = status
|
||||
|
||||
Reference in New Issue
Block a user