Skip to content

Commit

Permalink
Merge pull request #15872 from bernhardoj/fix/15813
Browse files Browse the repository at this point in the history
add pressed style to emoji reaction
  • Loading branch information
amyevans authored Mar 14, 2023
2 parents eeffdc2 + fc8c0fb commit 47e5dfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Reactions/EmojiReactionBubble.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ const EmojiReactionBubble = (props) => {
const hasUserReacted = Report.hasAccountIDReacted(props.currentUserPersonalDetails.accountID, props.reactionUsers);
return (
<Pressable
style={({hovered}) => [
style={({hovered, pressed}) => [
styles.emojiReactionBubble,
StyleUtils.getEmojiReactionBubbleStyle(hovered, hasUserReacted, props.sizeScale),
StyleUtils.getEmojiReactionBubbleStyle(hovered || pressed, hasUserReacted, props.sizeScale),
]}
onPress={props.onPress}
onLongPress={props.onReactionListOpen}
Expand Down

0 comments on commit 47e5dfb

Please sign in to comment.