[fix] show first letter of public chat name in icon instead of #
Signed-off-by: yenda <eric@status.im>
This commit is contained in:
parent
f64111ceba
commit
2c74dc93cc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue