mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:52:53 +08:00
Swap profile "play styles" and "last visit" positions to match web (#4767)
Swap profile "play styles" and "last visit" positions to match web
This commit is contained in:
commit
bcabc9d61f
@ -87,14 +87,6 @@ namespace osu.Game.Overlays.Profile.Header
|
|||||||
|
|
||||||
addSpacer(topLinkContainer);
|
addSpacer(topLinkContainer);
|
||||||
|
|
||||||
if (user.PlayStyles?.Length > 0)
|
|
||||||
{
|
|
||||||
topLinkContainer.AddText("Plays with ");
|
|
||||||
topLinkContainer.AddText(string.Join(", ", user.PlayStyles.Select(style => style.GetDescription())), embolden);
|
|
||||||
|
|
||||||
addSpacer(topLinkContainer);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (user.LastVisit.HasValue)
|
if (user.LastVisit.HasValue)
|
||||||
{
|
{
|
||||||
topLinkContainer.AddText("Last seen ");
|
topLinkContainer.AddText("Last seen ");
|
||||||
@ -103,6 +95,14 @@ namespace osu.Game.Overlays.Profile.Header
|
|||||||
addSpacer(topLinkContainer);
|
addSpacer(topLinkContainer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (user.PlayStyles?.Length > 0)
|
||||||
|
{
|
||||||
|
topLinkContainer.AddText("Plays with ");
|
||||||
|
topLinkContainer.AddText(string.Join(", ", user.PlayStyles.Select(style => style.GetDescription())), embolden);
|
||||||
|
|
||||||
|
addSpacer(topLinkContainer);
|
||||||
|
}
|
||||||
|
|
||||||
topLinkContainer.AddText("Contributed ");
|
topLinkContainer.AddText("Contributed ");
|
||||||
topLinkContainer.AddLink($@"{user.PostCount:#,##0} forum posts", $"https://osu.ppy.sh/users/{user.Id}/posts", creationParameters: embolden);
|
topLinkContainer.AddLink($@"{user.PostCount:#,##0} forum posts", $"https://osu.ppy.sh/users/{user.Id}/posts", creationParameters: embolden);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user