[#11880] Open user profile when tapping on user icon in 1-1 chat
Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
parent
46f8d9fdbf
commit
9d7dcc6ae7
|
@ -42,7 +42,8 @@
|
|||
(when chat-id
|
||||
[react/view {:style st/toolbar-container}
|
||||
[react/view {:margin-right 10}
|
||||
[chat-icon.screen/chat-icon-view-toolbar chat-id group-chat chat-name color]]
|
||||
[react/touchable-highlight {:on-press #(when-not group-chat (re-frame/dispatch [:chat.ui/show-profile chat-id]))}
|
||||
[chat-icon.screen/chat-icon-view-toolbar chat-id group-chat chat-name color]]]
|
||||
[react/view {:style st/chat-name-view}
|
||||
(if group-chat
|
||||
[react/text {:style st/chat-name-text
|
||||
|
|
Loading…
Reference in New Issue