Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 667c1cc

Browse files
fixes #9526 (#9589) fixes #9526
1 parent e68d13a commit 667c1cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Xamarin.Forms.Platform.iOS/Renderers/LabelRenderer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ void UpdateTextColor()
520520
Control.TextColor = textColor.ToUIColor(ColorExtensions.Black);
521521
#else
522522
var alignment = Element.HorizontalTextAlignment.ToNativeTextAlignment(((IVisualElementController)Element).EffectiveFlowDirection);
523-
var textWithColor = new NSAttributedString(Element.Text ?? "", font: Element.ToNSFont(), foregroundColor: textColor.ToNSColor(), paragraphStyle: new NSMutableParagraphStyle() { Alignment = alignment });
523+
var textWithColor = new NSAttributedString(Element.Text ?? "", font: Element.ToNSFont(), foregroundColor: textColor.ToNSColor(ColorExtensions.Black), paragraphStyle: new NSMutableParagraphStyle() { Alignment = alignment });
524524
textWithColor = textWithColor.AddCharacterSpacing(Element.Text ?? string.Empty, Element.CharacterSpacing);
525525
Control.AttributedStringValue = textWithColor;
526526
#endif

0 commit comments

Comments
 (0)