1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +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()