aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-05-11 20:12:42 -0400
committerGitHub <noreply@github.com>2021-05-11 20:12:42 -0400
commit64971e5d67878ee5bd430dfa89dfe12ac532f5e6 (patch)
tree3f1c385dc8dcb71e5181ccba7a383fd691a000c2
parent406d335103d084a8ff7a4fa141e6d7d0e2d54a93 (diff)
parent167e95af7ab7112bcb05ae10512c5f25309e56de (diff)
Merge pull request #415 from IvanIFChen/hotfix-unable-to-tap-liked
[HOTFIX] Fixed liked navigation
-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,