Add number sign inside ToString

Co-Authored-By: Joehuu <madamba.joehu@outlook.com>
This commit is contained in:
jorolf 2019-05-01 17:55:30 -07:00 committed by GitHub
parent 6b7397b9cf
commit b61807da40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,8 +148,8 @@ namespace osu.Game.Overlays.Profile.Header
foreach (var scoreRankInfo in scoreRankInfos) foreach (var scoreRankInfo in scoreRankInfos)
scoreRankInfo.Value.RankCount = user?.Statistics?.GradesCount[scoreRankInfo.Key] ?? 0; scoreRankInfo.Value.RankCount = user?.Statistics?.GradesCount[scoreRankInfo.Key] ?? 0;
detailGlobalRank.Content = user?.Statistics?.Ranks.Global == null ? "-" : $"#{user?.Statistics?.Ranks.Global?.ToString("#,##0")}"; detailGlobalRank.Content = user?.Statistics?.Ranks.Global?.ToString("\\##,##0") ?? "-";
detailCountryRank.Content = user?.Statistics?.Ranks.Country == null ? "-" : $"#{user?.Statistics?.Ranks.Country?.ToString("#,##0")}"; detailCountryRank.Content = user?.Statistics?.Ranks.Country?.ToString("\\##,##0") ?? "-";
rankGraph.User.Value = user; rankGraph.User.Value = user;
} }