Smaller font size

This commit is contained in:
jpirnay
2026-03-07 18:17:06 +01:00
parent 10e0680f6e
commit 56ed445c71
3 changed files with 14 additions and 8 deletions
+7 -1
View File
@@ -100,7 +100,13 @@ void RecentBooksActivity::render(RenderLock&&) {
} else {
GUI.drawList(
renderer, Rect{0, contentTop, pageWidth, contentHeight}, recentBooks.size(), selectorIndex,
[this](int index) { return recentBooks[index].title; }, [this](int index) { return recentBooks[index].author; },
[this](int index) { return recentBooks[index].title; },
[this](int index) {
const auto& book = recentBooks[index];
if (!book.author.empty() && !book.series.empty()) return book.author + " \u2022 " + book.series;
if (!book.series.empty()) return book.series;
return book.author;
},
[this](int index) { return UITheme::getFileIcon(recentBooks[index].path); });
}