Skip to content

Commit 18052a1

Browse files
authored
Merge pull request #5591 from GeekyAnts/release/3.4.25
Release/3.4.25
2 parents bc96a3f + 2289e76 commit 18052a1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"prettier --write"
3737
]
3838
},
39-
"version": "3.4.24",
39+
"version": "3.4.25",
4040
"license": "MIT",
4141
"private": false,
4242
"main": "lib/commonjs/index",

src/components/primitives/Text/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ const Text = ({ children, ...props }: ITextProps, ref: any) => {
6060
if (resolvedFontFamily) {
6161
fontFamily = resolvedFontFamily;
6262
}
63-
6463
// Need to apply fontWeight & fontStyle on web
6564
if (Platform.OS === 'web') {
6665
if (resolvedFontFamily) {
67-
fontFamily = resolvedFontFamily;
66+
fontFamily = resolvedFontFamily.fontFamily;
6867
}
68+
6969
resolvedFontFamily = {
7070
fontFamily,
7171
fontWeight: fontWeight ?? (hasTextAncestor ? undefined : 400),

0 commit comments

Comments
 (0)