diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 935f249b4914..d39110e69236 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -12,6 +12,7 @@ * [*] Weekly Roundup: We made some further changes to try and ensure that Weekly Roundup notifications are showing up for everybody who's enabled them [#18029] * [*] Block editor: Autocorrected Headings no longer apply bold formatting if they weren't already bold. [#17844] * [***] Block editor: Support for multiple color palettes [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4588] +* [**] User profiles: Fixed issue where the app wasn't displaying any of the device photos which the user had granted the app access to. 19.3 ----- diff --git a/WordPress/Classes/ViewRelated/Me/My Profile/Gravatar/GravatarPickerViewController.swift b/WordPress/Classes/ViewRelated/Me/My Profile/Gravatar/GravatarPickerViewController.swift index 69858c1cb752..0cdd8432c7a9 100644 --- a/WordPress/Classes/ViewRelated/Me/My Profile/Gravatar/GravatarPickerViewController.swift +++ b/WordPress/Classes/ViewRelated/Me/My Profile/Gravatar/GravatarPickerViewController.swift @@ -15,16 +15,7 @@ class GravatarPickerViewController: UIViewController, WPMediaPickerViewControlle fileprivate var mediaPickerViewController: WPNavigationMediaPickerViewController! - fileprivate lazy var mediaPickerAssetDataSource: WPPHAssetDataSource? = { - let collectionsFetchResult = PHAssetCollection.fetchAssetCollections(with: .smartAlbum, subtype: .smartAlbumSelfPortraits, options: nil) - guard let assetCollection = collectionsFetchResult.firstObject else { - return nil - } - - let dataSource = WPPHAssetDataSource() - dataSource.setSelectedGroup(PHAssetCollectionForWPMediaGroup(collection: assetCollection, mediaType: .image)) - return dataSource - }() + fileprivate lazy var mediaPickerAssetDataSource = WPPHAssetDataSource() // MARK: - View Lifecycle Methods