Disable early return in NativeAnimatedHelper.flushQueue
Summary:
This is the same issue as https://www.internalfb.com/diff/D36298399 (55ee8ce0c4
) which was reverted earlier this week.
Changelog: [Internal]
Differential Revision: D36479089
fbshipit-source-id: 2bce05882a558db0c3464ec4a2b05eee36a3048a
This commit is contained in:
Родитель
763dc52387
Коммит
a4690d054f
|
@ -116,14 +116,6 @@ const API = {
|
|||
flushQueue: function (): void {
|
||||
flushQueueTimeout = null;
|
||||
|
||||
// Early returns before calling any APIs
|
||||
if (useSingleOpBatching && singleOpQueue.length === 0) {
|
||||
return;
|
||||
}
|
||||
if (!useSingleOpBatching && queue.length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (Platform.OS === 'android') {
|
||||
NativeAnimatedModule?.startOperationBatch?.();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче