Fix 'Send message' handler in chat profile window
This commit is contained in:
parent
aa949c64e3
commit
b4fe910ded
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue