Merge pull request #899 from mpretty-cyro/fix/media-picker-reload

Fixed an issue where the media picker wouldn't reload when changing image access
This commit is contained in:
Morgan Pretty 2023-09-08 10:28:41 +10:00 committed by GitHub
commit eaceabe217
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -383,6 +383,7 @@ class ImagePickerGridController: UICollectionViewController, PhotoLibraryDelegat
func photoLibraryDidChange(_ photoLibrary: PhotoLibrary) {
photoCollectionContents = photoCollection.contents()
collectionView?.reloadData()
}
// MARK: - PhotoCollectionPicker Presentation