aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-05-21 21:35:30 -0400
committerGitHub <noreply@github.com>2021-05-21 21:35:30 -0400
commit83802c3a18b1a1406cb4f1336b91e477161e7340 (patch)
tree4471ed8533e366cd175ef17893e7b4cf89f21c3b /src
parent4849c65ff2163e1a77dcb26a12ff68840df225e7 (diff)
parent76bfbbedfd42a6f6d204276552fdabcd0e8f84ff (diff)
Merge pull request #441 from brian-tagg/tma888-plus-cover
[TMA-888] Change onPress to onPressIn
Diffstat (limited to 'src')
-rw-r--r--src/components/profile/Cover.tsx2
-rw-r--r--src/components/profile/TaggAvatar.tsx2
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>
)}