Skip to content

Commit

Permalink
Fix ReactTextView setPadding applying logic error (#36999)
Browse files Browse the repository at this point in the history
Summary:
Fix the logic error when setPadding int ReactTextView.

## Changelog:

<!-- Help reviewers and the release process by writing your own changelog entry.

Pick one each for the category and type tags:

[ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message

For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests

Pull Request resolved: #36999

Reviewed By: NickGerleman

Differential Revision: D45773288

Pulled By: javache

fbshipit-source-id: ed4681aeab58ed4c3d2e04edb2d096b50932c088
  • Loading branch information
jcdhlzq authored and facebook-github-bot committed May 15, 2023
1 parent 1b5c1c7 commit d8ced6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ public void setText(ReactTextUpdate update) {
// operation
// TODO T56559197: remove this condition when we migrate 100% to Fabric
if (paddingLeft != UNSET
&& paddingBottom != UNSET
&& paddingTop != UNSET
&& paddingRight != UNSET
&& paddingBottom != UNSET) {

Expand Down

0 comments on commit d8ced6f

Please sign in to comment.