diff options
author | Brian Kim <brian@tagg.id> | 2021-05-21 16:26:20 -0700 |
---|---|---|
committer | Brian Kim <brian@tagg.id> | 2021-05-21 16:26:20 -0700 |
commit | 76bfbbedfd42a6f6d204276552fdabcd0e8f84ff (patch) | |
tree | 2f82326bf82b563a6febafdad1c358dd6a623b64 | |
parent | 70ae8e59b0b3ee8b2516a4220d21f3e3afdc8776 (diff) |
Change onPress to onPressIn
-rw-r--r-- | src/components/profile/Cover.tsx | 2 | ||||
-rw-r--r-- | src/components/profile/TaggAvatar.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/profile/Cover.tsx b/src/components/profile/Cover.tsx index 2b6268a6..8137188b 100644 --- a/src/components/profile/Cover.tsx +++ b/src/components/profile/Cover.tsx @@ -88,7 +88,7 @@ const Cover: React.FC<CoverProps> = ({userXId, screenType}) => { <TouchableOpacity accessible={true} accessibilityLabel="ADD HEADER PICTURE" - onPress={() => handleNewImage()}> + onPressIn={() => handleNewImage()}> <GreyPurplePlus style={styles.plus} /> <Text style={styles.text}>Add Picture</Text> </TouchableOpacity> diff --git a/src/components/profile/TaggAvatar.tsx b/src/components/profile/TaggAvatar.tsx index 8ccae2ef..daaf19eb 100644 --- a/src/components/profile/TaggAvatar.tsx +++ b/src/components/profile/TaggAvatar.tsx @@ -88,7 +88,7 @@ const TaggAvatar: React.FC<TaggAvatarProps> = ({ <TouchableOpacity accessible={true} accessibilityLabel="ADD PROFILE PICTURE" - onPress={() => handleNewImage()}> + onPressIn={() => handleNewImage()}> <PurplePlus style={styles.plus} /> </TouchableOpacity> )} |