From d2f660ea6429db342b45ef44a0d6fe92a3678453 Mon Sep 17 00:00:00 2001 From: jpirnay Date: Tue, 19 May 2026 12:05:19 +0200 Subject: [PATCH] Resync --- src/activities/home/HomeActivity.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/activities/home/HomeActivity.cpp b/src/activities/home/HomeActivity.cpp index df676eb7..2262b901 100644 --- a/src/activities/home/HomeActivity.cpp +++ b/src/activities/home/HomeActivity.cpp @@ -308,7 +308,6 @@ void HomeActivity::loadRecentCovers(int coverHeight) { if (FsHelpers::hasEpubExtension(book.path)) { Epub epub(book.path, "/.crosspoint"); epub.load(true, true); - epub.load(true, true); for (const auto& sz : thumbSizes) { const std::string path = UITheme::getCoverThumbPath(book.coverBmpPath, sz.first, sz.second); if (!Storage.exists(path.c_str())) success = epub.generateThumbBmp(sz.first, sz.second) && success; @@ -335,7 +334,6 @@ void HomeActivity::loadRecentCovers(int coverHeight) { if (FsHelpers::hasEpubExtension(book.path)) { Epub epub(book.path, "/.crosspoint"); epub.load(true, true); - epub.load(true, true); bool success = epub.generateThumbBmp(coverHeight); if (!success) { RECENT_BOOKS.updateBook(book.path, book.title, book.author, book.series, ""); @@ -472,11 +470,6 @@ void HomeActivity::loop() { return; } - if (firstRenderDone && !recentsLoaded && !recentsLoading) { - loadRecentCovers(UITheme::getInstance().getMetrics().homeCoverHeight); - return; - } - const int bookCount = static_cast(recentBooks.size()); const int menuItemCount = static_cast(menuEntries.size()); const bool inCarouselRow = (selectorIndex < bookCount);