Skip to content
Merged
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
4 changes: 2 additions & 2 deletions apple/MarkdownTextInputDecoratorShadowNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ class JSI_EXPORT MarkdownTextInputDecoratorShadowNode final
MarkdownTextInputDecoratorShadowNode(ShadowNode const &sourceShadowNode,
ShadowNodeFragment const &fragment);

void appendChild(const ShadowNode::Shared &child) override;
void appendChild(const std::shared_ptr<const ShadowNode> &child) override;
void replaceChild(const ShadowNode &oldChild,
const ShadowNode::Shared &newChild,
const std::shared_ptr<const ShadowNode> &newChild,
size_t suggestedIndex = SIZE_MAX) override;
void layout(LayoutContext layoutContext) override;
Size
Expand Down
4 changes: 2 additions & 2 deletions apple/MarkdownTextInputDecoratorShadowNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@
}

void MarkdownTextInputDecoratorShadowNode::appendChild(
const ShadowNode::Shared &child) {
const std::shared_ptr<const ShadowNode> &child) {
YogaLayoutableShadowNode::appendChild(child);

overwriteMeasureCallbackConnector();
}

void MarkdownTextInputDecoratorShadowNode::replaceChild(
const ShadowNode &oldChild, const ShadowNode::Shared &newChild,
const ShadowNode &oldChild, const std::shared_ptr<const ShadowNode> &newChild,
size_t suggestedIndex) {
YogaLayoutableShadowNode::replaceChild(oldChild, newChild, suggestedIndex);

Expand Down
Loading