I have a swipeAction in my SwiftUI list and I can't seem to change the color of the text. It is always white.
.swipeActions(edge: HorizontalEdge.leading, allowsFullSwipe: false) {
Button {
} label: {
Text("July 3rd")
.foregroundColor(.black)
}
.tint(Color(.systemGroupedBackground))
}
I've tried to set the button to PlainButtonStyle() but that also didn't work