From 02cb5dc8d46427f0bf2c6a723559a7d93a90b62e Mon Sep 17 00:00:00 2001 From: Max Risuhin Date: Wed, 10 Oct 2018 22:08:21 +0300 Subject: [PATCH] Apply scroll-view rendering optimization for list of chats Signed-off-by: Max Risuhin --- src/status_im/ui/screens/desktop/main/tabs/home/views.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/ui/screens/desktop/main/tabs/home/views.cljs b/src/status_im/ui/screens/desktop/main/tabs/home/views.cljs index 50f7b7b516..7f975ed6fd 100644 --- a/src/status_im/ui/screens/desktop/main/tabs/home/views.cljs +++ b/src/status_im/ui/screens/desktop/main/tabs/home/views.cljs @@ -74,7 +74,7 @@ [react/view {:style styles/add-new} [icons/icon :icons/add {:style {:tint-color :white}}]]]] [react/view {:style styles/chat-list-separator}] - [react/scroll-view + [react/scroll-view {:enableArrayScrollingOptimization true} [react/view (for [[index chat] (map-indexed vector home-items)] ^{:key (first chat)}