Skip to content

Commit

Permalink
Add lf
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane32 committed Jun 5, 2024
1 parent ee8d49a commit 3dd1e65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion QRCoder/PayloadGenerator/Url.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public Url(string url)
/// Returns the URL payload as a string.
/// </summary>
/// <returns>The URL payload as a string, ensuring it starts with "http://" if no protocol is specified.</returns>
public override string ToString() => !_url.StartsWith("http", StringComparison.OrdinalIgnoreCase) ? "http://" + _url : _url;
public override string ToString()
=> !_url.StartsWith("http", StringComparison.OrdinalIgnoreCase) ? "http://" + _url : _url;
}
}

0 comments on commit 3dd1e65

Please sign in to comment.