From e1530bf0cc6630fa4eee7cca331572d4e7260cef Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 21 Apr 2026 02:00:28 +1000 Subject: [PATCH] fix: use fontStyle -> font for controls --- modules/dashboard/Media.qml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/dashboard/Media.qml b/modules/dashboard/Media.qml index 7735bf23..4b0988d6 100644 --- a/modules/dashboard/Media.qml +++ b/modules/dashboard/Media.qml @@ -267,7 +267,7 @@ Item { PlayerControl { type: IconButton.Text icon: Players.active?.shuffle ? "shuffle_on" : "shuffle" - fontStyle: Tokens.font.icon.builder.size(Math.round(Tokens.font.icon.large.pointSize)).build() + font: Tokens.font.icon.builder.size(Math.round(Tokens.font.icon.large.pointSize)).build() disabled: !Players.active?.shuffleSupported onClicked: Players.active.shuffle = !Players.active?.shuffle } @@ -275,7 +275,7 @@ Item { PlayerControl { type: IconButton.Text icon: "skip_previous" - fontStyle: Tokens.font.icon.builder.size(Math.round(Tokens.font.icon.large.pointSize * 1.5)).build() + font: Tokens.font.icon.builder.size(Math.round(Tokens.font.icon.large.pointSize * 1.5)).build() disabled: !Players.active?.canGoPrevious onClicked: Players.active?.previous() } @@ -286,7 +286,7 @@ Item { toggle: true padding: Tokens.padding.extraSmall / 2 checked: Players.active?.isPlaying ?? false - fontStyle: Tokens.font.icon.builder.size(Math.round(Tokens.font.icon.large.pointSize * 1.5)).build() + font: Tokens.font.icon.builder.size(Math.round(Tokens.font.icon.large.pointSize * 1.5)).build() disabled: !Players.active?.canTogglePlaying onClicked: Players.active?.togglePlaying() } @@ -294,7 +294,7 @@ Item { PlayerControl { type: IconButton.Text icon: "skip_next" - fontStyle: Tokens.font.icon.builder.size(Math.round(Tokens.font.icon.large.pointSize * 1.5)).build() + font: Tokens.font.icon.builder.size(Math.round(Tokens.font.icon.large.pointSize * 1.5)).build() disabled: !Players.active?.canGoNext onClicked: Players.active?.next() } @@ -302,7 +302,7 @@ Item { PlayerControl { type: IconButton.Text icon: "lyrics" - fontStyle: Tokens.font.icon.builder.size(Math.round(Tokens.font.icon.large.pointSize)).build() + font: Tokens.font.icon.builder.size(Math.round(Tokens.font.icon.large.pointSize)).build() onClicked: root.lyricMenuOpen = !root.lyricMenuOpen } } @@ -444,7 +444,7 @@ Item { icon: "move_up" inactiveOnColour: Colours.palette.m3secondary padding: Tokens.padding.small - fontStyle: Tokens.font.icon.large + font: Tokens.font.icon.large disabled: !Players.active?.canRaise onClicked: { Players.active?.raise(); @@ -483,7 +483,7 @@ Item { icon: "delete" inactiveOnColour: Colours.palette.m3error padding: Tokens.padding.small - fontStyle: Tokens.font.icon.large + font: Tokens.font.icon.large disabled: !Players.active?.canQuit onClicked: Players.active?.quit() }