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

Single media in single album deselect crash fix #21

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

RonitOfficial
Copy link

Steps to replicate crash:

  1. Open image picker to select media from gallery
  2. Select a few media items from an album consisting of multiple items
  3. Change the album where there is only 1 media
  4. First select and then deselect the item -> Crash

The fix:
Put in checks around select and deselect functions of collectionview to verify the presence of the indexpath at context.

@niralishaha25 niralishaha25 merged commit 29b66da into niralishaha25:master Oct 1, 2024
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.

2 participants