From e32c863442d0a6c8e0f0f9c412af60ea26b645c0 Mon Sep 17 00:00:00 2001 From: Hariharan Mudaliar Date: Thu, 22 Jan 2026 17:28:09 +0530 Subject: [PATCH] Update icon color for music control --- DynamicIsland/components/Notch/NotchHomeView.swift | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/DynamicIsland/components/Notch/NotchHomeView.swift b/DynamicIsland/components/Notch/NotchHomeView.swift index 53ad2d4..b1843e7 100644 --- a/DynamicIsland/components/Notch/NotchHomeView.swift +++ b/DynamicIsland/components/Notch/NotchHomeView.swift @@ -224,6 +224,10 @@ struct MusicControlsView: View { .frame(maxWidth: .infinity, alignment: .center) } + private var brandAccentColor: Color { + musicManager.brandAccentColor + } + private var repeatIcon: String { switch musicManager.repeatMode { case .off: @@ -240,7 +244,7 @@ struct MusicControlsView: View { case .off: return .white case .all, .one: - return .red + return brandAccentColor } } @@ -305,7 +309,7 @@ struct MusicControlsView: View { case .shuffle: HoverButton( icon: "shuffle", - iconColor: musicManager.isShuffled ? .red : .white, + iconColor: musicManager.isShuffled ? brandAccentColor : .white, scale: .medium ) { MusicManager.shared.toggleShuffle() @@ -323,7 +327,7 @@ struct MusicControlsView: View { case .lyrics: HoverButton( icon: enableLyrics ? "quote.bubble.fill" : "quote.bubble", - iconColor: enableLyrics ? Color(nsColor: MusicManager.shared.avgColor) : .white, + iconColor: enableLyrics ? brandAccentColor : .white, scale: .medium ) { enableLyrics.toggle()