Skip to content

Commit

Permalink
rename param
Browse files Browse the repository at this point in the history
  • Loading branch information
Parveshdhull authored and pavloburykh committed Jun 10, 2024
1 parent b0a4bed commit 3a96b2b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/status_im/contexts/chat/messenger/messages/list/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,14 @@

(defn list-header
[insets able-to-send-message?]
(let [props {:insets insets
:able-to-send-message? able-to-send-message?
:images (rf/sub [:chats/sending-image])
:reply (rf/sub [:chats/reply-message])
:edit (rf/sub [:chats/edit-message])
:link-previews? (or (rf/sub [:chats/link-previews?])
(rf/sub [:chats/status-link-previews?]))}]
[rn/view {:style {:height (header-height props)}}]))
(let [header-data {:insets insets
:able-to-send-message? able-to-send-message?
:images (rf/sub [:chats/sending-image])
:reply (rf/sub [:chats/reply-message])
:edit (rf/sub [:chats/edit-message])
:link-previews? (or (rf/sub [:chats/link-previews?])
(rf/sub [:chats/status-link-previews?]))}]
[rn/view {:style {:height (header-height header-data)}}]))

(defn list-footer-avatar
[{:keys [distance-from-list-top display-name online? profile-picture theme group-chat color
Expand Down

0 comments on commit 3a96b2b

Please sign in to comment.