chats list UI fixes

This commit is contained in:
Gustavo Nunes 2017-03-20 18:50:19 -03:00 committed by Roman Volosovskyi
parent a116600679
commit 514f6a6be1
1 changed files with 3 additions and 1 deletions

View File

@ -53,9 +53,11 @@
[toolbar {:nav-action (act/back #(dispatch [:set-in [:chat-list-ui-props :edit?] false])) [toolbar {:nav-action (act/back #(dispatch [:set-in [:chat-list-ui-props :edit?] false]))
:title (label :t/edit-chats)}]) :title (label :t/edit-chats)}])
(defn toolbar-search [] (defview toolbar-search []
[search-text [:get-in [:toolbar-search :text]]]
[toolbar-with-search [toolbar-with-search
{:show-search? true {:show-search? true
:search-text search-text
:search-key :chat-list :search-key :chat-list
:title (label :t/chats) :title (label :t/chats)
:search-placeholder (label :t/search-for)}]) :search-placeholder (label :t/search-for)}])