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 galery boolean for swipe down dismiss #106

Merged
merged 1 commit into from
May 8, 2023

Conversation

kafejo
Copy link
Contributor

@kafejo kafejo commented Apr 25, 2023

The value of isGalleryShowing is not updated when the gallery is dismissed with a swipe down (instead of tapping on cancel). If the gallery is dismissed in such fashion the delegate method imagePickerControllerDidCancel is not called and therefore the value is not updated. This causes some strange behaviour when trying to present for the second time.

Fixes #67

@nathanfallet nathanfallet merged commit 4b2f9c5 into twostraws:main May 8, 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.

connot update isGalleryPresented wrappedValue.
2 participants