[#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:
deme 2018-07-19 00:24:19 +02:00 committed by Andrey Shovkoplyas
parent 2bf6fc854c
commit 4757b06dfb
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
1 changed files with 1 additions and 1 deletions

View File

@ -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?]