mosaicmenu: fix cover of deleted file in history

reviewable/pr11523/r1
hius07 2 months ago committed by GitHub
parent d9b3847c82
commit 1706e3e613
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -535,7 +535,7 @@ function MosaicMenuItem:update()
local bookinfo = BookInfoManager:getBookInfo(self.filepath, self.do_cover_image)
if bookinfo and self.do_cover_image and not bookinfo.ignore_cover then
if bookinfo and self.do_cover_image and not bookinfo.ignore_cover and not self.file_deleted then
if bookinfo.cover_fetched then
if bookinfo.has_cover and not self.menu.no_refresh_covers then
if BookInfoManager.isCachedCoverInvalid(bookinfo, cover_specs) then

Loading…
Cancel
Save