[fix] show first letter of public chat name in icon instead of #

Signed-off-by: yenda <eric@status.im>
This commit is contained in:
yenda 2019-02-08 10:59:50 +01:00
parent f64111ceba
commit 2c74dc93cc
No known key found for this signature in database
GPG Key ID: 0095623C0069DCE6
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
(when-not (string/blank? name)
[react/view (:default-chat-icon styles)
[react/text {:style (:default-chat-icon-text styles)}
(string/capitalize (first name))]]))
(string/capitalize (second name))]]))
(defn dapp-badge [{:keys [online-view-wrapper online-view online-dot-left online-dot-right]}]
[react/view online-view-wrapper