fix(dark-mode): formatted string and html view text color (#8031)

This commit is contained in:
Vasil Chimev
2019-11-07 11:43:27 +00:00
committed by Manol Donev
parent eb33ede5a7
commit 0c7f8383a3
2 changed files with 16 additions and 1 deletions

View File

@@ -153,6 +153,10 @@ export class TextBase extends TextBaseCommon {
this.nativeTextViewProtected.setAttributedTitleForState(attrText, UIControlState.Normal);
}
else {
if (majorVersion >= 13) {
this.nativeTextViewProtected.textColor = UIColor.labelColor;
}
this.nativeTextViewProtected.attributedText = attrText;
}
}