mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Convert to readonly struct
and replace with constructor temporarily
This commit is contained in:
@ -64,12 +64,10 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
||||
{
|
||||
var days = ranked_days - index + 1;
|
||||
|
||||
return new UserGraphTooltipContent
|
||||
{
|
||||
Name = UsersStrings.ShowRankGlobalSimple,
|
||||
Count = rank.ToLocalisableString("\\##,##0"),
|
||||
Time = days == 0 ? "now" : $"{"day".ToQuantity(days)} ago"
|
||||
};
|
||||
return new UserGraphTooltipContent(
|
||||
UsersStrings.ShowRankGlobalSimple,
|
||||
rank.ToLocalisableString("\\##,##0"),
|
||||
days == 0 ? "now" : $"{"day".ToQuantity(days)} ago");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user