mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 18:12:55 +08:00
Simplify order by last visit
This commit is contained in:
parent
da97a02e66
commit
bd84980aa6
@ -232,7 +232,7 @@ namespace osu.Game.Overlays.Dashboard.Friends
|
||||
{
|
||||
default:
|
||||
case UserSortCriteria.LastVisit:
|
||||
return unsorted.OrderBy(u => u.LastVisit).Reverse().ToList();
|
||||
return unsorted.OrderByDescending(u => u.LastVisit).ToList();
|
||||
|
||||
case UserSortCriteria.Rank:
|
||||
return unsorted.Where(u => u.CurrentModeRank.HasValue).OrderBy(u => u.CurrentModeRank).Concat(unsorted.Where(u => u.CurrentModeRank == null)).ToList();
|
||||
|
Loading…
Reference in New Issue
Block a user