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 bug when assets group changed, the asset filter is not re-applied #77

Merged
merged 1 commit into from Feb 3, 2015

Conversation

kentran
Copy link

@kentran kentran commented Jan 15, 2015

If I set the assets filter to be all photos, I can open the picker and see all photos shown. If I go to the Photos app and make some changes (like delete a photo), when I come back to the picker, I can see the collection reloaded with the photo removed. However, this time I will also see videos as well.

This is because the asset groups are also reloaded on ALAssetsLibraryChangedNotification but the assets filter is not re-applied in updateAssetsGroupForURL: and insertAssetsGroupForURL:

@1and2papa
Copy link
Owner

@kentran Thanks. I have been very busy. Will have it reviewed and merged in the coming few weeks.

1and2papa added a commit that referenced this pull request Feb 3, 2015
Fix bug when assets group changed, the asset filter is not re-applied
@1and2papa 1and2papa merged commit 728b8a0 into 1and2papa:master Feb 3, 2015
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