mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 00:52:57 +08:00
Fix broken test case
This commit is contained in:
parent
956fb9912d
commit
f0b7b2e1c4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user