From 877ee14bcca2ae05e7d82102216ff68016e5c279 Mon Sep 17 00:00:00 2001 From: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com> Date: Thu, 25 May 2023 19:23:26 +0800 Subject: [PATCH] Add default customization color (#16026) Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com> --- src/status_im2/subs/chat/chats.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im2/subs/chat/chats.cljs b/src/status_im2/subs/chat/chats.cljs index 4288d62e5e..072d806ce2 100644 --- a/src/status_im2/subs/chat/chats.cljs +++ b/src/status_im2/subs/chat/chats.cljs @@ -282,7 +282,7 @@ :profile/customization-color :<- [:multiaccounts/multiaccounts] (fn [multiaccounts [_ id]] - (:customization-color (get multiaccounts id)))) + (or (:customization-color (get multiaccounts id)) constants/profile-default-color))) (re-frame/reg-sub :chats/unread-messages-number