summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/dashboard/Media.qml4
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
}
}