mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
sync lastest NativeAnimatedHelper to macos (#57257)
Summary: Pull Request resolved: https://github.com/react/react-native/pull/57257 ## Changelog: [Internal] [Added] - sync lastest NativeAnimatedHelper to macos Reviewed By: christophpurrer Differential Revision: D108926246 fbshipit-source-id: 60a4c4bfd7470db3fd184d07c4c5e03ceea3c9a1
This commit is contained in:
1 parent
9cf30b6e4b
commit
faf0951b4e
1 file changed
+3
-3
@@ -202,7 +202,7 @@ const springImpl = function (
|
||||
|
||||
_isUsingNativeDriver: function (): boolean {
|
||||
return (
|
||||
NativeAnimatedHelper.isNativeDriverForced?.() ||
|
||||
NativeAnimatedHelper.isNativeDriverForced() ||
|
||||
config.useNativeDriver ||
|
||||
false
|
||||
);
|
||||
@@ -260,7 +260,7 @@ const timingImpl = function (
|
||||
|
||||
_isUsingNativeDriver: function (): boolean {
|
||||
return (
|
||||
NativeAnimatedHelper.isNativeDriverForced?.() ||
|
||||
NativeAnimatedHelper.isNativeDriverForced() ||
|
||||
config.useNativeDriver ||
|
||||
false
|
||||
);
|
||||
@@ -306,7 +306,7 @@ const decayImpl = function (
|
||||
|
||||
_isUsingNativeDriver: function (): boolean {
|
||||
return (
|
||||
NativeAnimatedHelper.isNativeDriverForced?.() ||
|
||||
NativeAnimatedHelper.isNativeDriverForced() ||
|
||||
config.useNativeDriver ||
|
||||
false
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user