diff --git a/Sources/Models/WhatsNew+SecondaryAction.swift b/Sources/Models/WhatsNew+SecondaryAction.swift index 2d840fa..f1b9798 100644 --- a/Sources/Models/WhatsNew+SecondaryAction.swift +++ b/Sources/Models/WhatsNew+SecondaryAction.swift @@ -31,7 +31,13 @@ public extension WhatsNew { /// - action: The Action public init( title: Text, - foregroundColor: Color = .accentColor, + foregroundColor: Color = { + #if os(visionOS) + .primary + #else + .accentColor + #endif + }(), hapticFeedback: HapticFeedback? = nil, action: Action ) {