Use series in recents if present

This commit is contained in:
jpirnay
2026-03-08 17:44:10 +01:00
parent 98fb3d65c9
commit 8dc82f28af
4 changed files with 18 additions and 6 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ void RecentBooksActivity::render(RenderLock&&) {
[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.author.empty() && !book.series.empty()) return book.author + "\n" + book.series;
if (!book.series.empty()) return book.series;
return book.author;
},