Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AdaptiveAlertDialog iOS change UIAlertAction.style #206

Open
vanniktech opened this issue Nov 26, 2024 · 0 comments
Open

AdaptiveAlertDialog iOS change UIAlertAction.style #206

vanniktech opened this issue Nov 26, 2024 · 0 comments

Comments

@vanniktech
Copy link

I've just tried the AdaptiveAlertDialog on iOS and I was surprised that the cancel button on iOS has a destructive style: https://github.com/MohamedRejeb/Calf/blob/fed7e623f03fdbcfeb53873a30595a1f529606d7/calf-ui/src/iosMain/kotlin/com/mohamedrejeb/calf/ui/dialog/AlertDialogManager.kt#L67C25-L67C54

This does not align with what I want, for instance here:

Screenshot 2024-11-26 at 11 36 40

Yes should be destructive in this case and no should either be normal or cancel. I know that Android does not have this, but it would be nice to have the possibility to change the style of the two buttons on iOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant