diff options
| author | Husam Salhab <47015061+hsalhab@users.noreply.github.com> | 2020-12-31 15:43:35 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-31 15:43:35 -0500 |
| commit | 8e5b8de41d3c378c86d8741342ddfc6e2525bfe5 (patch) | |
| tree | faee4b0aac8388f87227640ffc5dc49643011c76 /src/screens/onboarding/ProfileOnboarding.tsx | |
| parent | 38661e00281363b0f4ad32f0b29d739e1ca09164 (diff) | |
[TMA-482] Add Smart Albums To Image Picker (#156)
* add favorites, recent, portraits, and screenshots
* add UserLibrary
Diffstat (limited to 'src/screens/onboarding/ProfileOnboarding.tsx')
| -rw-r--r-- | src/screens/onboarding/ProfileOnboarding.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/screens/onboarding/ProfileOnboarding.tsx b/src/screens/onboarding/ProfileOnboarding.tsx index d51aec95..70550f36 100644 --- a/src/screens/onboarding/ProfileOnboarding.tsx +++ b/src/screens/onboarding/ProfileOnboarding.tsx @@ -147,6 +147,7 @@ const ProfileOnboarding: React.FC<ProfileOnboardingProps> = ({ const goToGalleryLargePic = () => { ImagePicker.openPicker({ + smartAlbums: ['Favorites', 'RecentlyAdded', 'SelfPortraits', 'Screenshots', 'UserLibrary'], width: 580, height: 580, cropping: true, @@ -166,6 +167,7 @@ const ProfileOnboarding: React.FC<ProfileOnboardingProps> = ({ const goToGallerySmallPic = () => { ImagePicker.openPicker({ + smartAlbums: ['Favorites', 'RecentlyAdded', 'SelfPortraits', 'Screenshots', 'UserLibrary'], width: 580, height: 580, cropping: true, |
