New icons + some warning fixes

This commit is contained in:
LemmyCook 2025-09-08 15:22:43 -04:00
parent 6f1b88e76d
commit 404a1d3e8b
14 changed files with 63 additions and 41 deletions

View file

@ -134,7 +134,7 @@ RowLayout {
NIcon {
id: windowIcon
text: MediaService.isPlaying ? "pause" : "play_arrow"
text: MediaService.isPlaying ? FontService.icons["pause"]: FontService.icons["play"]
font.pointSize: Style.fontSizeL * scaling
verticalAlignment: Text.AlignVCenter
Layout.alignment: Qt.AlignVCenter
@ -154,7 +154,8 @@ RowLayout {
id: trackArt
anchors.fill: parent
imagePath: MediaService.trackArtUrl
fallbackIcon: MediaService.isPlaying ? "pause" : "play_arrow"
fallbackIcon: MediaService.isPlaying ? FontService.icons["pause"]: FontService.icons["play"]
fallbackIconSize: 10 * scaling
borderWidth: 0
border.color: Color.transparent
}