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

Select previously selected image when deselecting in multi-selection #311

Merged
merged 1 commit into from
Apr 28, 2019
Merged

Select previously selected image when deselecting in multi-selection #311

merged 1 commit into from
Apr 28, 2019

Conversation

slashmo
Copy link
Contributor

@slashmo slashmo commented Feb 7, 2019

Current state

Currently, when deselecting an image in the multi-selection mode, the cell is not actually deselected. Instead it's just removed from the selection array.

Proposed change

With this PR, when deselecting an image in multi-selection mode, the current preview will be replaced by the previously selected image.

@s4cha
Copy link
Member

s4cha commented Apr 28, 2019

@slashmo This is perfect! 🙏 Thanks a ton for taking the time to make the picker better for everybody 🎉

@s4cha s4cha merged commit 4d547ef into Yummypets:master Apr 28, 2019
@slashmo slashmo deleted the fix/multiselection-deselect branch April 28, 2019 09:24
@s4cha
Copy link
Member

s4cha commented Apr 28, 2019

LucasDang pushed a commit to pukapp/secret-ios-YPImagePicker that referenced this pull request Feb 10, 2022
…lect

Select previously selected image when deselecting in multi-selection
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