[#5031] Remove additional # to chat title when it is a public chat
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
2bf6fc854c
commit
4757b06dfb
|
@ -39,7 +39,7 @@
|
|||
[react/i18n-text {:style style/add-contact-text :key :add-to-contacts}]]])))
|
||||
|
||||
(defn- on-options [chat-id chat-name group-chat? public?]
|
||||
(list-selection/show {:title (if public? (str "#" chat-name) chat-name)
|
||||
(list-selection/show {:title chat-name
|
||||
:options (actions/actions group-chat? chat-id public?)}))
|
||||
|
||||
(defview chat-toolbar [public?]
|
||||
|
|
Loading…
Reference in New Issue