Skip to content

Commit 8cf2d34

Browse files
mdvaccafacebook-github-bot
authored andcommitted
Delete ReactRawTextShadowNode from codebase
Summary: ReactRawTextShadowNode is part of legacy architecture and unused, let's delete it changelog: [internal] internal Reviewed By: javache Differential Revision: D83188351
1 parent 3935df3 commit 8cf2d34

File tree

2 files changed

+1
-41
lines changed

2 files changed

+1
-41
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -523,9 +523,7 @@ public constructor(
523523
val child: ReactShadowNode<*> = textShadowNode.getChildAt(i)
524524

525525
@Suppress("DEPRECATION")
526-
if (child is ReactRawTextShadowNode) {
527-
child.text?.let { sb.append(apply(it, textAttributes.textTransform)) }
528-
} else if (child is ReactBaseTextShadowNode) {
526+
if (child is ReactBaseTextShadowNode) {
529527
buildSpannedFromShadowNode(
530528
child,
531529
sb,

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

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)