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

Fix for the issue when "destructive" parameter is null #3

Merged
merged 1 commit into from
Sep 7, 2023
Merged

Fix for the issue when "destructive" parameter is null #3

merged 1 commit into from
Sep 7, 2023

Conversation

yurkinh
Copy link
Contributor

@yurkinh yurkinh commented Sep 7, 2023

To reproduce this issue (crash) use
var menuSelection = await UserDialogs.Instance.ActionSheetAsync("", title: null, cancel: "cancel", null, buttons: "selection");

As a workaround we can put string.Empty as a "destructive" parameter but in this case, we will have additional empty menu.
This fix aligns behavior with UserDialogs ActionSheet for Xamarin.Forms

@Alex-Dobrynin Alex-Dobrynin merged commit 53ae09b into Alex-Dobrynin:master Sep 7, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants