Apply scroll-view rendering optimization for list of chats
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
This commit is contained in:
parent
dc37e8b2dd
commit
02cb5dc8d4
|
@ -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)}
|
||||||
|
|
Loading…
Reference in New Issue