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

Fix possible null

This commit is contained in:
Andrei Zavatski 2019-12-17 12:50:50 +03:00
parent 023892738a
commit bc9177983a

View File

@ -108,10 +108,11 @@ namespace osu.Game.Overlays.Profile.Sections
VisiblePages = 0;
ItemsContainer.Clear();
count.Value = GetCount(e.NewValue);
if (e.NewValue != null)
{
showMore();
count.Value = GetCount(e.NewValue);
}
}
private void showMore()