From f6fdd5d913c29855644f226d09d6cba60faf6e21 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Tue, 29 Jun 2021 16:32:19 -0400 Subject: Add error handling --- src/components/camera/GalleryIcon.tsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/components/camera/GalleryIcon.tsx b/src/components/camera/GalleryIcon.tsx index 19a63a9a..ab226323 100644 --- a/src/components/camera/GalleryIcon.tsx +++ b/src/components/camera/GalleryIcon.tsx @@ -25,12 +25,14 @@ export const GalleryIcon: React.FC = ({ navigateToImagePicker(navigation, screenType, title)} style={styles.saveButton}> - + {mostRecentPhoto !== '' && ( + + )} Gallery ); -- cgit v1.2.3-70-g09d2