Skip to content

Commit 083fa48

Browse files
authored
Fix: Android release build issue due to "unused" children variable (#730)
Co-authored-by: war-in <war-in@users.noreply.github.com>
1 parent 59b7792 commit 083fa48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/new_arch/react/renderer/components/RNLiveMarkdownSpec/MarkdownTextInputDecoratorShadowNode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ void MarkdownTextInputDecoratorShadowNode::layout(LayoutContext layoutContext) {
166166
children.size() == 1 &&
167167
"MarkdownTextInputDecoratorView didn't receive exactly one child");
168168

169-
auto child = std::static_pointer_cast<const YogaLayoutableShadowNode>(getChildren()[0]);
169+
auto child = std::static_pointer_cast<const YogaLayoutableShadowNode>(children[0]);
170170
child->ensureUnsealed();
171171
auto mutableChild = std::const_pointer_cast<YogaLayoutableShadowNode>(child);
172172

0 commit comments

Comments
 (0)