From f977dd6d0c51f5375217ff459dd8c88678d83320 Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Mon, 21 Nov 2016 18:19:44 +0200 Subject: [PATCH] fix #475 --- src/status_im/contacts/subs.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/contacts/subs.cljs b/src/status_im/contacts/subs.cljs index 7e8358e4e3..1352723d06 100644 --- a/src/status_im/contacts/subs.cljs +++ b/src/status_im/contacts/subs.cljs @@ -65,7 +65,7 @@ pred (subscribe [:get :contacts-filter])] (reaction (let [ordered (sort-contacts @contacts) - ordered (if pred (filter @pred ordered) ordered)] + ordered (if @pred (filter @pred ordered) ordered)] (reduce (fn [prev cur] (let [prev-letter (get-contact-letter (last prev)) cur-letter (get-contact-letter cur)]