Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ void UIManager::setNativeProps_DEPRECATED(
->getProps(),
RawProps(rawProps));

return oldShadowNode.clone({/* .props = */ .props = props});
return oldShadowNode.clone({.props = props});
});

return std::static_pointer_cast<RootShadowNode>(rootNode);
Expand All @@ -493,15 +493,12 @@ void UIManager::configureNextLayoutAnimation(
const jsi::Value& failureCallback) const {
if (animationDelegate_ != nullptr) {
animationDelegate_->uiManagerDidConfigureNextLayoutAnimation(
runtime,
config,
std::move(successCallback),
std::move(failureCallback));
runtime, config, successCallback, failureCallback);
}
}

static std::shared_ptr<const ShadowNode> findShadowNodeByTagRecursively(
std::shared_ptr<const ShadowNode> parentShadowNode,
const std::shared_ptr<const ShadowNode>& parentShadowNode,
Tag tag) {
if (parentShadowNode->getTag() == tag) {
return parentShadowNode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class UIManager final : public ShadowTreeDelegate {
std::weak_ptr<UIManagerAnimationBackend> unstable_getAnimationBackend();

/**
* Execute stopSurface on any UIMAnagerAnimationDelegate.
* Execute stopSurface on any UIManagerAnimationDelegate.
*/
void stopSurfaceForAnimationDelegate(SurfaceId surfaceId) const;

Expand All @@ -79,9 +79,9 @@ class UIManager final : public ShadowTreeDelegate {
void synchronouslyUpdateViewOnUIThread(Tag tag, const folly::dynamic &props);

/*
* Provides access to a UIManagerBindging.
* Provides access to a UIManagerBinding.
* The `callback` methods will not be called if the internal pointer to
* `UIManagerBindging` is `nullptr`.
* `UIManagerBinding` is `nullptr`.
* The callback is called synchronously on the same thread.
*/
void visitBinding(
Expand Down
Loading