mirror of
https://github.com/status-im/status-react.git
synced 2025-02-25 00:58:52 +00:00
set useNativeDriver to true in request-button animation
This commit is contained in:
parent
07fecc4e28
commit
54e83c584d
@ -29,7 +29,8 @@
|
|||||||
(if (and @loop? (not @answered?))
|
(if (and @loop? (not @answered?))
|
||||||
request-message-icon-scale-delay
|
request-message-icon-scale-delay
|
||||||
0))
|
0))
|
||||||
(anim/spring val {:toValue to-value})]))
|
(anim/spring val {:toValue to-value
|
||||||
|
:useNativeDriver true})]))
|
||||||
|
|
||||||
(defn request-button-animation-logic
|
(defn request-button-animation-logic
|
||||||
[{:keys [to-value val loop? answered?] :as context}]
|
[{:keys [to-value val loop? answered?] :as context}]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user