set useNativeDriver to true in request-button animation

This commit is contained in:
Roman Volosovskyi 2018-01-17 16:09:04 +02:00
parent 07fecc4e28
commit 54e83c584d
No known key found for this signature in database
GPG Key ID: 37135489EAE4B2D7
1 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,8 @@
(if (and @loop? (not @answered?))
request-message-icon-scale-delay
0))
(anim/spring val {:toValue to-value})]))
(anim/spring val {:toValue to-value
:useNativeDriver true})]))
(defn request-button-animation-logic
[{:keys [to-value val loop? answered?] :as context}]