I'm trying to prevent a button from animating when clicked, but I have not been successful.
I've tried setting UIButton.appearance().isHighlighted, .adjustsImageWhenHighlighted and .showsTouchWhenHiglighted, to false. I've also tried:
Button(action: {}) {
Text("X")
}
.animation(.none)