diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-23 21:34:31 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-23 21:34:31 +1000 |
| commit | 0d9ab6ae499cdc7b6c2f7cd8df4ccfbb6be14999 (patch) | |
| tree | fbdd938540e63256ffcb2dc281a051069d660c77 /modules/dashboard | |
| parent | services: fix proc lang (#454) (diff) | |
| download | caelestia-shell-0d9ab6ae499cdc7b6c2f7cd8df4ccfbb6be14999.tar.gz caelestia-shell-0d9ab6ae499cdc7b6c2f7cd8df4ccfbb6be14999.tar.bz2 caelestia-shell-0d9ab6ae499cdc7b6c2f7cd8df4ccfbb6be14999.zip | |
config: player aliases + config default player
Closes #441
Diffstat (limited to 'modules/dashboard')
| -rw-r--r-- | modules/dashboard/Media.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/dashboard/Media.qml b/modules/dashboard/Media.qml index db43252..d0946e7 100644 --- a/modules/dashboard/Media.qml +++ b/modules/dashboard/Media.qml @@ -372,7 +372,7 @@ Item { StyledText { Layout.fillWidth: true Layout.maximumWidth: playerSelector.implicitWidth - implicitHeight - parent.spacing - Appearance.padding.normal * 2 - text: Players.active?.identity ?? "No players" + text: Players.active ? Players.getIdentity(Players.active) : qsTr("No players") color: Players.active ? Colours.palette.m3onSurface : Colours.palette.m3onSurfaceVariant elide: Text.ElideRight } @@ -444,7 +444,7 @@ Item { } StyledText { - text: player.modelData.identity + text: Players.getIdentity(player.modelData) color: Colours.palette.m3onSecondaryContainer } } |