Fix 'Send message' handler in chat profile window

This commit is contained in:
Vitaliy Vlasov 2018-09-07 13:18:38 +03:00
parent aa949c64e3
commit b4fe910ded
No known key found for this signature in database
GPG Key ID: A7D57C347F2B2964
1 changed files with 3 additions and 1 deletions

View File

@ -236,7 +236,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}