From 514f6a6be15690b57e49563ab8f6ef894d10b0f7 Mon Sep 17 00:00:00 2001 From: Gustavo Nunes Date: Mon, 20 Mar 2017 18:50:19 -0300 Subject: [PATCH] chats list UI fixes --- src/status_im/chats_list/screen.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/status_im/chats_list/screen.cljs b/src/status_im/chats_list/screen.cljs index 04cfb0d692..45ede3f8a3 100644 --- a/src/status_im/chats_list/screen.cljs +++ b/src/status_im/chats_list/screen.cljs @@ -53,9 +53,11 @@ [toolbar {:nav-action (act/back #(dispatch [:set-in [:chat-list-ui-props :edit?] false])) :title (label :t/edit-chats)}]) -(defn toolbar-search [] +(defview toolbar-search [] + [search-text [:get-in [:toolbar-search :text]]] [toolbar-with-search {:show-search? true + :search-text search-text :search-key :chat-list :title (label :t/chats) :search-placeholder (label :t/search-for)}])