File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 57
57
"@angular/router" : " ~10.1.0" ,
58
58
"@commitlint/cli" : " ^11.0.0" ,
59
59
"@commitlint/config-conventional" : " ^11.0.0" ,
60
- "@nativescript-community/text" : " ^1.4.8 " ,
60
+ "@nativescript-community/text" : " ^1.4.9 " ,
61
61
"@nativescript/angular" : " 10.1.0" ,
62
62
"@nativescript/core" : " 7.2.1" ,
63
63
"@nativescript/types-android" : " 7.2.0" ,
Original file line number Diff line number Diff line change 32
32
"license" : " Apache-2.0" ,
33
33
"readmeFilename" : " README.md" ,
34
34
"dependencies" : {
35
- "@nativescript-community/text" : " ^1.4.8 "
35
+ "@nativescript-community/text" : " ^1.4.9 "
36
36
}
37
37
}
Original file line number Diff line number Diff line change @@ -418,11 +418,13 @@ export class Label extends LabelBase {
418
418
} else {
419
419
const font = this . nativeViewProtected . font ;
420
420
const fontSize = this . fontSize || font . pointSize ;
421
+ const fontWeight = this . style . fontWeight ;
421
422
const familyName = this . style . fontFamily || ( this . style . fontInternal && this . style . fontInternal . fontFamily ) || font . familyName ;
422
423
const result = createNativeAttributedString ( {
423
424
text : this . html ,
424
425
fontSize,
425
426
familyName,
427
+ fontWeight,
426
428
color : this . color ,
427
429
letterSpacing : this . letterSpacing ,
428
430
lineHeight : this . lineHeight ,
You can’t perform that action at this time.
0 commit comments