How can I make the inner Button execute its action instead of the outer one always being performed?
struct Foo: View {
var body: some View {
Button(action: { print("alloha") }) {
HStack {
Button(action: { print("hello") }) {
Image(systemName: "circle.fill")
}
Text("world")
Spacer()
}
}
}
}
