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

Ensure the current state is hidden in presenting it as a modality #551

Merged
merged 1 commit into from
Jun 13, 2022

Conversation

scenee
Copy link
Owner

@scenee scenee commented Jun 13, 2022

This change is a possible fix for the crash reported in #542

@scenee scenee force-pushed the prevent-force-unwrapping-crash branch from 7e563e0 to 817ca08 Compare June 13, 2022 11:23
@scenee scenee merged commit 1ff3c28 into master Jun 13, 2022
@scenee scenee deleted the prevent-force-unwrapping-crash branch June 13, 2022 12:06
scenee added a commit that referenced this pull request Sep 1, 2022
scenee added a commit that referenced this pull request Sep 6, 2022
scenee added a commit that referenced this pull request Sep 7, 2022
This resolves issue #561. Instead of continuing to work a modal presentation transition even if a panel state is not .hidden, this library calls fatalError as a programmer error on the occasion.
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.

1 participant