I have this button
Button { }
label: {
Image(systemName: "info.circle")
}
and want to couple it with this alert
.alert(isPresented: $showAlert) {
Alert(title: Text("Impressum"), message: Text("?"), dismissButton: .default(Text("Okay")))
Using SwiftUI... It's not working.
