Skip to content

Commit

Permalink
Restore missing call to convertRawPropAliases (#42686)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #42686

D53072714 accidentally removed this call, which sets the values for props which have duplicates, and some precedence between them.

This organization is janky, and will be removed in D53073913 where we decuple the props from Yoga style (so the precedence and parsing order becomes a lot more sane).

Changelog:
[Android][Fixed] - Restore missing call to `convertRawPropAliases`

Reviewed By: mdvacca

Differential Revision: D53144603

fbshipit-source-id: 85da722b23992ea75fb681f1db15e62a0daa2a51
  • Loading branch information
NickGerleman authored and facebook-github-bot committed Jan 27, 2024
1 parent de42893 commit 5e37c1f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,8 @@ YogaStylableProps::YogaStylableProps(
"aspectRatio",
sourceProps.yogaStyle.aspectRatio(),
yogaStyle.aspectRatio()));

convertRawPropAliases(context, sourceProps, rawProps);
};

void YogaStylableProps::setProp(
Expand Down

0 comments on commit 5e37c1f

Please sign in to comment.