Fix formatting

This commit is contained in:
Nick Gerleman
2022-10-14 08:35:52 -07:00
parent 47d34bd597
commit a0ad0ed17a
2 changed files with 6 additions and 9 deletions

View File

@@ -12,7 +12,9 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: ./.github/actions/setup-android
- name: Setup
uses: ./.github/actions/setup-android
- name: Build - name: Build
run: ./gradlew assemble${{ matrix.mode }} run: ./gradlew assemble${{ matrix.mode }}

View File

@@ -361,14 +361,9 @@ YOGA_EXPORT void YGNodeSwapChild(
const YGNodeRef owner, const YGNodeRef owner,
const YGNodeRef child, const YGNodeRef child,
const uint32_t index) { const uint32_t index) {
owner->replaceChild(child, index); owner->replaceChild(child, index);
child->setOwner(owner); child->setOwner(owner);
} }
YOGA_EXPORT void YGNodeRemoveChild( YOGA_EXPORT void YGNodeRemoveChild(
const YGNodeRef owner, const YGNodeRef owner,