mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(dark-mode): formatted string and html view text color (#8031)
This commit is contained in:
committed by
Manol Donev
parent
eb33ede5a7
commit
0c7f8383a3
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user