Qml/ModPage: make name bold and bigger, show authors

This commit is contained in:
Toast 2025-06-05 02:25:07 +02:00
parent 4edfdc8706
commit 446ca73a91

View file

@ -62,11 +62,17 @@ Kirigami.Page {
// Name and author // Name and author
ColumnLayout { ColumnLayout {
Controls.Label { Kirigami.Heading {
text: `Name: ${mod.name}` text: mod.name
type: Kirigami.Heading.Type.Primary
} }
Controls.Label { Controls.Label {
text: `Author placeholder` property bool hasAuthors: mod.authors.length > 0
function joinAuthors() {
return mod.authors.join(", ")
}
text: hasAuthors ? joinAuthors() : "Unknown author"
} }
} }
} }