Fix embarrassing typo in Animated

Summary:
Which idiot wrote this? Oh yeah, I did.

This was introduced in D36109810 (https://github.com/facebook/react-native/commit/bf405d70837e1319cfa83e4c5cbb7c9a69abd820) so hasn't been around too long luckily.

Changelog: [Internal]

Reviewed By: cortinico, GijsWeterings

Differential Revision: D36480272

fbshipit-source-id: b0fbb6b820185185359c6c75f77f2921dc892b02
This commit is contained in:
Pieter De Baets
2022-05-19 05:33:09 -07:00
committed by Facebook GitHub Bot
parent 5bb0caf858
commit 1c1fbce2d1
@@ -158,7 +158,7 @@ public class NativeAnimatedModule extends NativeAnimatedModuleSpec
@AnyThread
boolean isEmpty() {
return mQueue.isEmpty() && mPeekedOperation != null;
return mQueue.isEmpty() && mPeekedOperation == null;
}
void setSynchronizedAccess(boolean isSynchronizedAccess) {