mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
4fb9e2f6a3
commit
896baf79d5
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user