1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 23:02:56 +08:00

Make collection button test less broken

This commit is contained in:
Joseph Madamba 2024-08-15 11:49:15 -07:00
parent 19a4cef113
commit c3600467bf

View File

@ -58,8 +58,7 @@ namespace osu.Game.Screens.Ranking
.AsEnumerable()
.Select(c => new CollectionToggleMenuItem(c.ToLive(realm), beatmapInfo)).Cast<OsuMenuItem>().ToList();
if (manageCollectionsDialog != null)
collectionItems.Add(new OsuMenuItem("Manage...", MenuItemType.Standard, manageCollectionsDialog.Show));
collectionItems.Add(new OsuMenuItem("Manage...", MenuItemType.Standard, () => manageCollectionsDialog?.Show()));
return collectionItems.ToArray();
}