mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 15:03:13 +08:00
Fix setting count for recent scores is overcomplicated
This commit is contained in:
parent
1bc41bcfd7
commit
95eeebd93f
@ -49,12 +49,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
|
||||
base.OnItemsReceived(items);
|
||||
|
||||
if (type == ScoreType.Recent)
|
||||
{
|
||||
var count = items.Count;
|
||||
|
||||
Header.Current.Value = count == 0 ? 0 : -1;
|
||||
Header.Current.TriggerChange();
|
||||
}
|
||||
Header.Current.Value = items.Count;
|
||||
}
|
||||
|
||||
protected override APIRequest<List<APILegacyScoreInfo>> CreateRequest() =>
|
||||
|
Loading…
Reference in New Issue
Block a user