From 446ca73a91c4af7b5f8c3b7094d0874692b04c03 Mon Sep 17 00:00:00 2001 From: Toast Date: Thu, 5 Jun 2025 02:25:07 +0200 Subject: [PATCH] Qml/ModPage: make name bold and bigger, show authors --- src/leek/qml/ModPage.qml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/leek/qml/ModPage.qml b/src/leek/qml/ModPage.qml index 6b9bfde..7e59ce1 100644 --- a/src/leek/qml/ModPage.qml +++ b/src/leek/qml/ModPage.qml @@ -62,11 +62,17 @@ Kirigami.Page { // Name and author ColumnLayout { - Controls.Label { - text: `Name: ${mod.name}` + Kirigami.Heading { + text: mod.name + type: Kirigami.Heading.Type.Primary } Controls.Label { - text: `Author placeholder` + property bool hasAuthors: mod.authors.length > 0 + function joinAuthors() { + return mod.authors.join(", ") + } + + text: hasAuthors ? joinAuthors() : "Unknown author" } } }