mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Fix setting count for recent scores is overcomplicated
This commit is contained in:
@ -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() =>
|
||||
|
Reference in New Issue
Block a user