mirror of
https://github.com/minibits-cash/minibits_wallet.git
synced 2026-08-11 17:07:44 +00:00
23 lines
827 B
Diff
23 lines
827 B
Diff
diff --git a/node_modules/react-native/ReactCommon/react/renderer/animations/utils.h b/node_modules/react-native/ReactCommon/react/renderer/animations/utils.h
|
|
index 41b9be9..7ffc2f4 100644
|
|
--- a/node_modules/react-native/ReactCommon/react/renderer/animations/utils.h
|
|
+++ b/node_modules/react-native/ReactCommon/react/renderer/animations/utils.h
|
|
@@ -105,15 +105,11 @@ static inline bool shouldFirstComeBeforeSecondMutation(
|
|
// must come first.
|
|
if (lhs.type == ShadowViewMutation::Type::Remove &&
|
|
lhs.parentShadowView.tag == rhs.parentShadowView.tag) {
|
|
- if (lhs.index > rhs.index) {
|
|
- return true;
|
|
- } else {
|
|
- return false;
|
|
- }
|
|
+ return lhs.index > rhs.index;
|
|
}
|
|
}
|
|
|
|
- return false;
|
|
+ return &lhs < &rhs;
|
|
}
|
|
|
|
std::pair<Float, Float> calculateAnimationProgress(
|