Skip to content
This repository has been archived by the owner on Jul 2, 2022. It is now read-only.

Commit

Permalink
Revert C# 8 assignment in NewsFeedElement.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
thedillonb committed May 6, 2020
1 parent 03ece68 commit 7c7df03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CodeHub.iOS/DialogElements/NewsFeedElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public NewsFeedElement(string imageUrl, DateTimeOffset time, IEnumerable<TextBlo
if (b.Tapped != null)
color = LinkColor;

color ??= primaryColor;
color = color ?? primaryColor;

var str = new NSAttributedString(b.Value, new CoreText.CTStringAttributes() { ForegroundColor = color.CGColor, Font = ctFont });
attributedString.Append(str);
Expand Down

0 comments on commit 7c7df03

Please sign in to comment.