Skip to content

Commit

Permalink
[#8662] No chats on 'Chats' view if to clear entered search term in '…
Browse files Browse the repository at this point in the history
…Search' chat input

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
  • Loading branch information
flexsurfer committed Oct 11, 2019
1 parent df098f8 commit 09be822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/status_im/ui/screens/home/views.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
(let [previous-touch (reagent/atom nil)
scrolling-from-top? (reagent/atom true)]
(fn [search-filter chats all-home-items]
(if (not-empty search-filter)
(if search-filter
[filter.views/home-filtered-items-list chats]
[react/animated-view
(merge {:style {:flex 1
Expand Down

0 comments on commit 09be822

Please sign in to comment.