mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Migrate ReactVirtualTextShadowNode to kotlin and make it internal (#47434)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47434 Migrate ReactVirtualTextShadowNode to kotlin and make it internal changelog: [Android][Breaking] Reduce visibility of ReactVirtualTextShadowNode to internal Reviewed By: shwanton Differential Revision: D65493927 fbshipit-source-id: 2b5997d000b5dc489ba93edb226455ef0855b98b
This commit is contained in:
1 parent
4a119c4c3a
commit
496b0a8729
2 files changed
+3
-13
No files matched your search
@@ -7522,11 +7522,6 @@ public class com/facebook/react/views/text/ReactTypefaceUtils {
|
||||
public static fun parseFontWeight (Ljava/lang/String;)I
|
||||
}
|
||||
|
||||
public class com/facebook/react/views/text/ReactVirtualTextShadowNode : com/facebook/react/views/text/ReactBaseTextShadowNode {
|
||||
public fun <init> ()V
|
||||
public fun isVirtual ()Z
|
||||
}
|
||||
|
||||
public class com/facebook/react/views/text/TextAttributeProps {
|
||||
public static final field TA_KEY_ACCESSIBILITY_ROLE S
|
||||
public static final field TA_KEY_ALIGNMENT S
|
||||
|
||||
+3
-8
@@ -5,15 +5,10 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
package com.facebook.react.views.text;
|
||||
package com.facebook.react.views.text
|
||||
|
||||
/** A virtual text node. */
|
||||
public class ReactVirtualTextShadowNode extends ReactBaseTextShadowNode {
|
||||
internal class ReactVirtualTextShadowNode : ReactBaseTextShadowNode() {
|
||||
|
||||
@Override
|
||||
public boolean isVirtual() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public ReactVirtualTextShadowNode() {}
|
||||
override fun isVirtual(): Boolean = true
|
||||
}
|
||||
Reference in new issue
Block a user