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

Commit 7c7df03

Browse files
committed
Revert C# 8 assignment in NewsFeedElement.cs
1 parent 03ece68 commit 7c7df03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodeHub.iOS/DialogElements/NewsFeedElement.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public NewsFeedElement(string imageUrl, DateTimeOffset time, IEnumerable<TextBlo
8888
if (b.Tapped != null)
8989
color = LinkColor;
9090

91-
color ??= primaryColor;
91+
color = color ?? primaryColor;
9292

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

0 commit comments

Comments
 (0)