Closed XelarCraft closed 1 month ago
.customAlert("Some Title", isPresented: $showDialog) { VStack{ SmallTextJustified(name: "Some message body") Spacer() }
} actions: { Button(role: .destructive) { showDialog = false } label: { MediumText(name: "Cancel") } Button { showDialog = false print("Some message") } label: { MediumText(name: "Proceed") } }
The logic to be executed on button press is no longer getting executed on devices running iOS 18.
Thank you for reporting this issue.
I was able to reproduce the issue when using older Xcode versions.
Should be fixed in 4.0.1
4.0.1
.customAlert("Some Title", isPresented: $showDialog) { VStack{ SmallTextJustified(name: "Some message body") Spacer() }
The logic to be executed on button press is no longer getting executed on devices running iOS 18.