Fix crash in ReactHorizontalScrollView debug logging

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
This commit is contained in:
Joshua Gross
2021-03-10 20:19:31 -08:00
committed by Facebook GitHub Bot
parent 4fb9e2f6a3
commit 896baf79d5
@@ -603,7 +603,7 @@ public class ReactHorizontalScrollView extends HorizontalScrollView
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,