Skip to content

Commit

Permalink
feat: added pleading face emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Russak committed Dec 20, 2023
1 parent b5498cc commit 40d284d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions packages/app/src/assets/emoji_list.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
[
{
"name": "pleading_face",
"unicode": "1f97a",
"shortname": ":pleading_face:",
"code_decimal": "🤚",
"category": "p",
"emoji_order": "15"
},
{
"name": "100",
"unicode": "1f4af",
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/js/components/Toolbar/Toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const Toolbar = () => {
return (
<Container onClick={stop}>
<i class="fa-solid fa-icons" onClick={() => setView('reactions')} />
<i class="fa-solid fa-pen-to-square" onClick={() => dispatch.actions.messages.toggleEdit(id)}/>
<i class="fa-solid fa-pen-to-square" onClick={() => dispatch.actions.messages.toggleEdit(id)} />
{!pinned
? <i class="fa-solid fa-thumbtack" onClick={() => dispatch.methods.pins.pin(id, channelId)} />
: <i class="fa-solid fa-thumbtack" style="color:Tomato" onClick={() => dispatch.methods.pins.unpin(id, channelId)} />}
Expand Down

0 comments on commit 40d284d

Please sign in to comment.