Skip to content

Commit

Permalink
Run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
piaskowyk committed Jan 29, 2025
1 parent 13049e6 commit 3c7f258
Showing 1 changed file with 15 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -765,12 +765,11 @@ void ReanimatedModuleProxy::cssLoopCallback(const double /*timestampMs*/) {
|| updatesRegistryManager_->hasPropsToRevert()
#endif // ANDROID
) {
requestRender_(
[weakThis = weak_from_this()](const double newTimestampMs) {
if (auto strongThis = weakThis.lock()) {
strongThis->cssLoopCallback(newTimestampMs);
}
});
requestRender_([weakThis = weak_from_this()](const double newTimestampMs) {
if (auto strongThis = weakThis.lock()) {
strongThis->cssLoopCallback(newTimestampMs);
}
});
} else {
cssLoopRunning_ = false;
}
Expand All @@ -789,12 +788,11 @@ void ReanimatedModuleProxy::maybeRunCSSLoop() {
if (!strongThis) {
return;
}
strongThis->requestRender_(
[weakThis](const double timestampMs) {
if (auto strongThis = weakThis.lock()) {
strongThis->cssLoopCallback(timestampMs);
}
});
strongThis->requestRender_([weakThis](const double timestampMs) {
if (auto strongThis = weakThis.lock()) {
strongThis->cssLoopCallback(timestampMs);
}
});
});
}

Expand Down Expand Up @@ -902,12 +900,11 @@ void ReanimatedModuleProxy::performOperations() {
}

void ReanimatedModuleProxy::requestFlushRegistry() {
requestRender_(
[weakThis = weak_from_this()](double time) {
if (auto strongThis = weakThis.lock()) {
strongThis->shouldFlushRegistry_ = true;
}
});
requestRender_([weakThis = weak_from_this()](double time) {
if (auto strongThis = weakThis.lock()) {
strongThis->shouldFlushRegistry_ = true;
}
});
}

void ReanimatedModuleProxy::commitUpdates(
Expand Down

0 comments on commit 3c7f258

Please sign in to comment.