mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
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:
commit
eaceabe217
1 changed files with 1 additions and 0 deletions
|
@ -383,6 +383,7 @@ class ImagePickerGridController: UICollectionViewController, PhotoLibraryDelegat
|
||||||
|
|
||||||
func photoLibraryDidChange(_ photoLibrary: PhotoLibrary) {
|
func photoLibraryDidChange(_ photoLibrary: PhotoLibrary) {
|
||||||
photoCollectionContents = photoCollection.contents()
|
photoCollectionContents = photoCollection.contents()
|
||||||
|
collectionView?.reloadData()
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - PhotoCollectionPicker Presentation
|
// MARK: - PhotoCollectionPicker Presentation
|
||||||
|
|
Loading…
Reference in a new issue