Merge pull request #5782 from status-im/fix/5645-fix-send-message-handler
Fix 'Send message' handler in chat profile window
This commit is contained in:
commit
7f8d87dec3
|
@ -228,7 +228,9 @@
|
||||||
:accessibility-label :add-contact-link}
|
:accessibility-label :add-contact-link}
|
||||||
[vector-icons/icon :icons/add {:style (styles/chat-profile-icon colors/gray)}]]
|
[vector-icons/icon :icons/add {:style (styles/chat-profile-icon colors/gray)}]]
|
||||||
[react/text {:style (styles/contact-card-text colors/gray)} (i18n/label :t/in-contacts)]])
|
[react/text {:style (styles/contact-card-text colors/gray)} (i18n/label :t/in-contacts)]])
|
||||||
[react/touchable-highlight {:on-press #(re-frame/dispatch [:navigate-to-chat public-key])}
|
[react/touchable-highlight
|
||||||
|
{:on-press #(re-frame/dispatch
|
||||||
|
[:open-chat-with-contact {:whisper-identity whisper-identity}])}
|
||||||
[react/view {:style styles/chat-profile-row}
|
[react/view {:style styles/chat-profile-row}
|
||||||
[react/view {:style styles/chat-profile-icon-container
|
[react/view {:style styles/chat-profile-icon-container
|
||||||
:accessibility-label :send-message-link}
|
:accessibility-label :send-message-link}
|
||||||
|
|
Loading…
Reference in New Issue