Skip to content

Commit

Permalink
Fix crash in ReactHorizontalScrollView debug logging
Browse files Browse the repository at this point in the history
Summary:
Does not impact prod or even debug builds unless you switch on the debug flag. The issue is that we were trying to coerce booleans to integers.

Changelog: [internal]

Reviewed By: mdvacca

Differential Revision: D26970274

fbshipit-source-id: 3327029ae3afc307dd19b089c23c190cb9e3150c
  • Loading branch information
JoshuaGross authored and facebook-github-bot committed Mar 11, 2021
1 parent 4fb9e2f commit 896baf7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ protected void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolea
if (DEBUG_MODE) {
FLog.i(
TAG,
"onOverScrolled[%d] scrollX %d scrollY %d clampedX %d clampedY %d",
"onOverScrolled[%d] scrollX %d scrollY %d clampedX %b clampedY %b",
getId(),
scrollX,
scrollY,
Expand Down

0 comments on commit 896baf7

Please sign in to comment.