aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-05-11 20:10:13 -0400
committerIvan Chen <ivan@tagg.id>2021-05-11 20:10:13 -0400
commit167e95af7ab7112bcb05ae10512c5f25309e56de (patch)
tree3f1c385dc8dcb71e5181ccba7a383fd691a000c2 /src
parent406d335103d084a8ff7a4fa141e6d7d0e2d54a93 (diff)
fixed liked navigation
Diffstat (limited to 'src')
-rw-r--r--src/components/comments/CommentTile.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/comments/CommentTile.tsx b/src/components/comments/CommentTile.tsx
index ee32f889..a1810b71 100644
--- a/src/components/comments/CommentTile.tsx
+++ b/src/components/comments/CommentTile.tsx
@@ -173,7 +173,7 @@ const CommentTile: React.FC<CommentTileProps> = ({
<View style={styles.row}>
<TouchableOpacity
style={styles.row}
- disabled={commentObject.reaction_count === 0}
+ disabled={commentObject.reaction_count === 0 && !liked}
onPress={() => {
navigation.navigate('CommentReactionScreen', {
comment: commentObject,