controlcenter: cleaned up wallpapergrid

This commit is contained in:
ATMDA 2025-11-20 22:34:20 -05:00
parent 7779de55bb
commit 8e9be711f1

View file

@ -216,13 +216,7 @@ GridView {
anchors.rightMargin: Appearance.padding.normal + Appearance.spacing.normal / 2
anchors.bottomMargin: Appearance.padding.normal
readonly property string fileName: {
const path = modelData.relativePath || "";
const parts = path.split("/");
return parts.length > 0 ? parts[parts.length - 1] : path;
}
text: fileName
text: modelData.name
font.pointSize: Appearance.font.size.smaller
font.weight: 500
color: isCurrent ? Colours.palette.m3primary : Colours.palette.m3onSurface