mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 16:42:57 +08:00
Remove redundant second Current
set operation
This commit is contained in:
parent
f31deaef7c
commit
d368f37c3a
@ -76,8 +76,6 @@ namespace osu.Game.Overlays.Settings.Sections
|
|||||||
{
|
{
|
||||||
base.LoadComplete();
|
base.LoadComplete();
|
||||||
|
|
||||||
skinDropdown.Current = skins.CurrentSkinInfo;
|
|
||||||
|
|
||||||
realmSubscription = realm.RegisterForNotifications(_ => realm.Realm.All<SkinInfo>()
|
realmSubscription = realm.RegisterForNotifications(_ => realm.Realm.All<SkinInfo>()
|
||||||
.Where(s => !s.DeletePending)
|
.Where(s => !s.DeletePending)
|
||||||
.OrderByDescending(s => s.Protected) // protected skins should be at the top.
|
.OrderByDescending(s => s.Protected) // protected skins should be at the top.
|
||||||
|
Loading…
Reference in New Issue
Block a user