Skip to content

Commit 8f8d6f0

Browse files
generatedunixname537391475639613facebook-github-bot
authored andcommitted
xplat/js/react-native-github/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextShadowNode.kt (facebook#53524)
Summary: Pull Request resolved: facebook#53524 Reviewed By: rshest Differential Revision: D81210918 fbshipit-source-id: 9c68952d658b846194fbcb0ccf79d3dc6878ef2b
1 parent 5293733 commit 8f8d6f0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextShadowNode.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public constructor(reactTextViewManagerCallback: ReactTextViewManagerCallback? =
160160
YogaMeasureOutput.make(layoutWidth, layoutHeight)
161161
}
162162

163-
private val mTextBaselineFunction = YogaBaselineFunction { node, width, height ->
163+
private val textBaselineFunction = YogaBaselineFunction { node, width, height ->
164164
val text =
165165
checkNotNull(preparedSpannableText) {
166166
"Spannable element has not been prepared in onBeforeLayout"
@@ -176,7 +176,7 @@ public constructor(reactTextViewManagerCallback: ReactTextViewManagerCallback? =
176176
private fun initMeasureFunction() {
177177
if (!isVirtual) {
178178
setMeasureFunction(textMeasureFunction)
179-
setBaselineFunction(mTextBaselineFunction)
179+
setBaselineFunction(textBaselineFunction)
180180
}
181181
}
182182

0 commit comments

Comments
 (0)