1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 10:02:59 +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; private readonly FillFlowContainer<DrawableRoom> roomFlow;
public IReadOnlyList<DrawableRoom> Rooms => roomFlow; public IReadOnlyList<DrawableRoom> Rooms => roomFlow;
[Resolved] [Resolved(CanBeNull = true)]
private Bindable<FilterCriteria> filter { get; set; } private Bindable<FilterCriteria> filter { get; set; }
[Resolved] [Resolved]
@ -62,7 +62,7 @@ namespace osu.Game.Screens.Multi.Lounge.Components
protected override void LoadComplete() protected override void LoadComplete()
{ {
filter.BindValueChanged(f => Filter(f.NewValue), true); filter?.BindValueChanged(f => Filter(f.NewValue), true);
} }
private FilterCriteria currentFilter; private FilterCriteria currentFilter;