Skip to content

Commit fc4b7d3

Browse files
committed
chore: rollback as needed
1 parent 9c4d55e commit fc4b7d3

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/label.ios.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -440,11 +440,15 @@ export class Label extends LabelBase {
440440
this.nativeTextViewProtected.setTitleColorForState(color, 0 /* Normal */);
441441
this.nativeTextViewProtected.titleLabel.textColor = color;
442442
} else {
443-
// if (this.formattedText || this.html) {
444-
// this._setNativeText();
445-
// } else {
446-
this.nativeTextViewProtected.textColor = color;
447-
// }
443+
if (this.formattedText || this.html) {
444+
if (this.html) {
445+
this.updateHTMLString();
446+
} else {
447+
super._setNativeText();
448+
}
449+
} else {
450+
this.nativeTextViewProtected.textColor = color;
451+
}
448452
}
449453
}
450454
[linkColorProperty.setNative](value: Color | string) {

0 commit comments

Comments
 (0)