Fix ordering of skins in dropdown being reverse of expected

This commit is contained in:
Dean Herbert 2021-12-01 12:50:47 +09:00
parent 0e0e8c25e8
commit 8ce7467e97

View File

@ -81,7 +81,7 @@ namespace osu.Game.Overlays.Settings.Sections
realmSkins = realmFactory.Context.All<SkinInfo>()
.Where(s => !s.DeletePending)
.OrderBy(s => s.Protected)
.OrderByDescending(s => s.Protected) // protected skins should be at the top.
.ThenBy(s => s.Name, StringComparer.OrdinalIgnoreCase);
realmSubscription = realmSkins