enhanced list modal and fixes

This commit is contained in:
2025-12-27 20:35:57 +01:00
parent 4bca41f6a2
commit 295cab93f3
25 changed files with 191 additions and 761 deletions

View File

@@ -69,6 +69,8 @@ async function loadBookMetadata() {
bookData = raw;
const metadata = MediaMetadataUtils.formatBookData(raw, !!extensionName);
bookData.entry_type =
metadata.format === 'MANGA' ? 'MANGA' : 'NOVEL';
updatePageTitle(metadata.title);
updateMetadata(metadata);

View File

@@ -55,7 +55,8 @@ function startHeroCycle() {
async function updateHeroUI(book) {
if(!book) return;
book.entry_type =
book.format === 'MANGA' ? 'MANGA' : 'NOVEL';
const title = book.title.english || book.title.romaji;
const desc = book.description || "No description available.";
const poster = (book.coverImage && (book.coverImage.extraLarge || book.coverImage.large)) || '';