1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 09:27:34 +08:00

Fix broken test case

This commit is contained in:
smoogipoo 2019-11-15 11:07:16 +09:00
parent 956fb9912d
commit f0b7b2e1c4

View File

@ -24,7 +24,7 @@ namespace osu.Game.Screens.Multi.Lounge.Components
private readonly FillFlowContainer<DrawableRoom> roomFlow;
public IReadOnlyList<DrawableRoom> Rooms => roomFlow;
[Resolved]
[Resolved(CanBeNull = true)]
private Bindable<FilterCriteria> filter { get; set; }
[Resolved]
@ -62,7 +62,7 @@ namespace osu.Game.Screens.Multi.Lounge.Components
protected override void LoadComplete()
{
filter.BindValueChanged(f => Filter(f.NewValue), true);
filter?.BindValueChanged(f => Filter(f.NewValue), true);
}
private FilterCriteria currentFilter;