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:
Vitaliy Vlasov 2018-09-12 14:40:46 +03:00 committed by GitHub
commit 7f8d87dec3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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}