Fixed an issue where the media picker wouldn't reload when changing image access

This commit is contained in:
Morgan Pretty 2023-09-08 08:50:41 +10:00
parent 45bee6fdf9
commit c98af2386c
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