Post

Replies

Boosts

Views

Activity

Reply to SwiftUI Widget Color Issue
I have the same issue! I get a green with these colors, but if I use like .yellow .red it's totally fine. Even stranger still if I put it in a ContainerRelativeShape.fill(gradient) with rounded corners I can see the correct gradient around the edges and just a square green block in the center. var gradient: LinearGradient { 		LinearGradient( 				gradient: Gradient( 						colors: 						[ 							Color(red: 0.41, green: 0.63, blue: 0.77), 							Color(red: 0.09, green: 0.35, blue: 0.52) 				]), 				startPoint: .top, 				endPoint: .bottom) }
Topic: App & System Services SubTopic: General Tags:
Sep ’20