Apply scroll-view rendering optimization for list of chats

Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
This commit is contained in:
Max Risuhin 2018-10-10 22:08:21 +03:00
parent dc37e8b2dd
commit 02cb5dc8d4
No known key found for this signature in database
GPG Key ID: BF733F5ACA0B4448
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@
[react/view {:style styles/add-new} [react/view {:style styles/add-new}
[icons/icon :icons/add {:style {:tint-color :white}}]]]] [icons/icon :icons/add {:style {:tint-color :white}}]]]]
[react/view {:style styles/chat-list-separator}] [react/view {:style styles/chat-list-separator}]
[react/scroll-view [react/scroll-view {:enableArrayScrollingOptimization true}
[react/view [react/view
(for [[index chat] (map-indexed vector home-items)] (for [[index chat] (map-indexed vector home-items)]
^{:key (first chat)} ^{:key (first chat)}