diff --git a/src/status_im/ui/components/tabbar/core.cljs b/src/status_im/ui/components/tabbar/core.cljs index 360609f7c26..e3810172824 100644 --- a/src/status_im/ui/components/tabbar/core.cljs +++ b/src/status_im/ui/components/tabbar/core.cljs @@ -81,12 +81,12 @@ [vector-icons/icon icon (tabs.styles/icon active?)] (when count (cond - (or (pos? @count) (pos? (:other @count))) + (or (pos? count) (pos? (:other count))) [react/view {:style (if (= nav-stack :chat-stack) tabs.styles/message-counter tabs.styles/counter)} - [badge/message-counter (or (:other @count) @count) true]] - (pos? (:public @count)) + [badge/message-counter (or (:other count) count) true]] + (pos? (:public count)) [react/view {:style tabs.styles/counter-public-container} [react/view {:style tabs.styles/counter-public :accessibility-label :public-unread-badge}]]))]