Add default customization color (#16026)

Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
This commit is contained in:
Mohamed Javid 2023-05-25 19:23:26 +08:00 committed by GitHub
parent 7ec5117f54
commit 877ee14bcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@
:profile/customization-color :profile/customization-color
:<- [:multiaccounts/multiaccounts] :<- [:multiaccounts/multiaccounts]
(fn [multiaccounts [_ id]] (fn [multiaccounts [_ id]]
(:customization-color (get multiaccounts id)))) (or (:customization-color (get multiaccounts id)) constants/profile-default-color)))
(re-frame/reg-sub (re-frame/reg-sub
:chats/unread-messages-number :chats/unread-messages-number