Skip to content

Commit

Permalink
Make reactions row scrollable
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrkhalil committed Jun 18, 2023
1 parent 5214f34 commit 2396aa9
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@
(let [reactions (rf/sub [:chats/message-reactions message-id chat-id])]
[:<>
(when (seq reactions)
[rn/view
{:style {:margin-left 52
:margin-bottom 12
:flex-direction :row}}
[rn/scroll-view
{:shows-horizontal-scroll-indicator false
:horizontal true
:style {:margin-left 52
:margin-bottom 12
:flex-direction :row}}
(for [{:keys [own emoji-id quantity emoji-reaction-id]
:as emoji-reaction} reactions]
^{:key emoji-reaction}
Expand Down

0 comments on commit 2396aa9

Please sign in to comment.