From 295d4f18a0c42a8809e8fd8e2f0a390979de163c Mon Sep 17 00:00:00 2001 From: CodemodService Bot Date: Fri, 20 Jun 2025 03:44:18 -0700 Subject: [PATCH] Fix CQS signal modernize-use-nullptr in xplat/js/react-native-github/packages/react-native/ReactCommon/react/renderer/components/textinput/platform/android/react/renderer/components/androidtextinput Reviewed By: javache Differential Revision: D77010402 --- .../androidtextinput/AndroidTextInputComponentDescriptor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactCommon/react/renderer/components/textinput/platform/android/react/renderer/components/androidtextinput/AndroidTextInputComponentDescriptor.h b/packages/react-native/ReactCommon/react/renderer/components/textinput/platform/android/react/renderer/components/androidtextinput/AndroidTextInputComponentDescriptor.h index d9940dfdc14..ed9dbd22036 100644 --- a/packages/react-native/ReactCommon/react/renderer/components/textinput/platform/android/react/renderer/components/androidtextinput/AndroidTextInputComponentDescriptor.h +++ b/packages/react-native/ReactCommon/react/renderer/components/textinput/platform/android/react/renderer/components/androidtextinput/AndroidTextInputComponentDescriptor.h @@ -56,7 +56,7 @@ class AndroidTextInputComponentDescriptor final if (getThemeData( fabricUIManager, surfaceId, defaultTextInputPaddingArray)) { jfloat* defaultTextInputPadding = - env->GetFloatArrayElements(defaultTextInputPaddingArray, 0); + env->GetFloatArrayElements(defaultTextInputPaddingArray, nullptr); theme.start = defaultTextInputPadding[0]; theme.end = defaultTextInputPadding[1]; theme.top = defaultTextInputPadding[2];