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" } } }