aboutsummaryrefslogtreecommitdiff
path: root/src/screens/onboarding/ProfileOnboarding.tsx
diff options
context:
space:
mode:
authorHusam Salhab <47015061+hsalhab@users.noreply.github.com>2020-12-31 15:43:35 -0500
committerGitHub <noreply@github.com>2020-12-31 15:43:35 -0500
commit8e5b8de41d3c378c86d8741342ddfc6e2525bfe5 (patch)
treefaee4b0aac8388f87227640ffc5dc49643011c76 /src/screens/onboarding/ProfileOnboarding.tsx
parent38661e00281363b0f4ad32f0b29d739e1ca09164 (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.tsx2
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,