File tree 1 file changed +3
-2
lines changed
lib/android/app/src/main/java/com/reactnativenavigation/utils
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 20
20
import com .facebook .react .bridge .ReadableArray ;
21
21
import com .facebook .react .views .text .ReactFontManager ;
22
22
import com .facebook .react .views .text .ReactTextShadowNode ;
23
+ import com .facebook .react .common .IntConstants ;
23
24
import java .util .ArrayList ;
24
25
import java .util .List ;
25
26
@@ -96,12 +97,12 @@ public static Typeface applyStyles(
96
97
97
98
int want = 0 ;
98
99
if ((weight == Typeface .BOLD )
99
- || ((oldStyle & Typeface .BOLD ) != 0 && weight == ReactTextShadowNode .UNSET )) {
100
+ || ((oldStyle & Typeface .BOLD ) != 0 && weight == IntConstants .UNSET )) {
100
101
want |= Typeface .BOLD ;
101
102
}
102
103
103
104
if ((style == Typeface .ITALIC )
104
- || ((oldStyle & Typeface .ITALIC ) != 0 && style == ReactTextShadowNode .UNSET )) {
105
+ || ((oldStyle & Typeface .ITALIC ) != 0 && style == IntConstants .UNSET )) {
105
106
want |= Typeface .ITALIC ;
106
107
}
107
108
You can’t perform that action at this time.
0 commit comments