Skip to content

Commit 77652e9

Browse files
committed
chore: comment
1 parent 28ba1ff commit 77652e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/label.ios.ts

+3
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,9 @@ export class Label extends LabelBase {
445445
const fontWeight = this.style.fontWeight;
446446
const familyName =
447447
this.style.fontFamily || (this.style.fontInternal && this.style.fontInternal.fontFamily) || undefined;
448+
449+
// we need to pass color because initWithDataOptionsDocumentAttributesError
450+
// will set a default color preventing the UITextView from applying its color
448451
const result = createNativeAttributedString(
449452
{
450453
text: this.html,

0 commit comments

Comments
 (0)