Apply more cases/fix some existing ones

This commit is contained in:
smoogipoo
2019-05-07 13:23:09 +09:00
parent d7c09e7dbd
commit 13b9b04bb8
15 changed files with 25 additions and 9 deletions

View File

@ -107,6 +107,7 @@ namespace osu.Game.Overlays.Profile.Header
topLinkContainer.AddLink($@"{user.PostCount:#,##0} forum posts", $"https://osu.ppy.sh/users/{user.Id}/posts", creationParameters: embolden);
string websiteWithoutProtcol = user.Website;
if (!string.IsNullOrEmpty(websiteWithoutProtcol))
{
if (Uri.TryCreate(websiteWithoutProtcol, UriKind.Absolute, out var uri))