1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:47:26 +08:00

Better variable naming

This commit is contained in:
Andrei Zavatski 2020-03-21 20:32:55 +03:00
parent f8169e9712
commit d241f7c55f

View File

@ -171,9 +171,9 @@ namespace osu.Game.Overlays.Dashboard.Friends
if (itemsPlaceholder.Any())
loading.Show();
var groupedUsers = onlineStatusControl.Current.Value?.Users ?? new List<User>();
var usersInCurrentGroup = onlineStatusControl.Current.Value?.Users ?? new List<User>();
var sortedUsers = sortUsers(groupedUsers);
var sortedUsers = sortUsers(usersInCurrentGroup);
LoadComponentAsync(createTable(sortedUsers), addContentToPlaceholder, (cancellationToken = new CancellationTokenSource()).Token);
}