Skip to content

Commit 60967fd

Browse files
generatedunixname89002005287564facebook-github-bot
authored andcommitted
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 (#52145)
Summary: Pull Request resolved: #52145 Reviewed By: javache Differential Revision: D77010402 fbshipit-source-id: db2823f888b1fca279ff13f8a323e074fcdf61f0
1 parent 4b91b63 commit 60967fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native/ReactCommon/react/renderer/components/textinput/platform/android/react/renderer/components/androidtextinput/AndroidTextInputComponentDescriptor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class AndroidTextInputComponentDescriptor final
5656
if (getThemeData(
5757
fabricUIManager, surfaceId, defaultTextInputPaddingArray)) {
5858
jfloat* defaultTextInputPadding =
59-
env->GetFloatArrayElements(defaultTextInputPaddingArray, 0);
59+
env->GetFloatArrayElements(defaultTextInputPaddingArray, nullptr);
6060
theme.start = defaultTextInputPadding[0];
6161
theme.end = defaultTextInputPadding[1];
6262
theme.top = defaultTextInputPadding[2];

0 commit comments

Comments
 (0)