Use only counter (no unread indicator) for chats bottom bar tab (#16417)

This commit is contained in:
Volodymyr Kozieiev 2023-06-29 16:42:08 +01:00 committed by GitHub
parent 5f441dfa93
commit bca7ab7925
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -215,8 +215,8 @@
:counter-label (:unviewed-mentions-count community-stack)}
:chats-stack
{:new-notifications? (pos? (:unviewed-messages-count chats-stack))
:notification-indicator (if (pos? (:unviewed-mentions-count chats-stack)) :counter :unread-dot)
:counter-label (:unviewed-mentions-count chats-stack)}})))
:notification-indicator :counter
:counter-label (:unviewed-messages-count chats-stack)}})))
;; Floating screens
(re-frame/reg-sub

View File

@ -29,8 +29,8 @@
:notification-indicator :unread-dot
:counter-label 0}
:chats-stack {:new-notifications? true
:notification-indicator :unread-dot
:counter-label 0}})
:notification-indicator :counter
:counter-label 7}})
(def one-to-one-group-community-chats2
(merge
@ -51,7 +51,7 @@
:counter-label 7}
:chats-stack {:new-notifications? true
:notification-indicator :counter
:counter-label 9}})
:counter-label 19}})
(h/deftest-sub :shell/bottom-tabs-notifications-data
[sub-name]