mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Apply batch fixing of built-in types using var
This commit is contained in:
@ -111,7 +111,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
||||
{
|
||||
text.Text = string.Empty;
|
||||
|
||||
var usernames = user.NewValue?.PreviousUsernames;
|
||||
string[] usernames = user.NewValue?.PreviousUsernames;
|
||||
|
||||
if (usernames?.Any() ?? false)
|
||||
{
|
||||
|
@ -62,7 +62,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
||||
|
||||
protected override UserGraphTooltipContent GetTooltipContent(int index, int rank)
|
||||
{
|
||||
var days = ranked_days - index + 1;
|
||||
int days = ranked_days - index + 1;
|
||||
|
||||
return new UserGraphTooltipContent(
|
||||
UsersStrings.ShowRankGlobalSimple,
|
||||
|
@ -72,7 +72,7 @@ namespace osu.Game.Overlays.Profile.Header
|
||||
{
|
||||
Show();
|
||||
|
||||
for (var index = 0; index < badges.Length; index++)
|
||||
for (int index = 0; index < badges.Length; index++)
|
||||
{
|
||||
int displayIndex = index;
|
||||
LoadComponentAsync(new DrawableBadge(badges[index]), asyncBadge =>
|
||||
|
Reference in New Issue
Block a user