1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-31 17:52:54 +08:00

Remove unused delegate for now

To silence inspections.
This commit is contained in:
Bartłomiej Dach 2024-06-17 11:09:04 +02:00
parent 8c4aa84037
commit 3884bce239
No known key found for this signature in database

View File

@ -1,7 +1,6 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using osu.Framework.Allocation; using osu.Framework.Allocation;
@ -82,8 +81,6 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
private partial class NewScoreEventRow : CompositeDrawable private partial class NewScoreEventRow : CompositeDrawable
{ {
public Action<IScoreInfo>? PresentScore { get; set; }
private readonly NewScoreEvent newScore; private readonly NewScoreEvent newScore;
public NewScoreEventRow(NewScoreEvent newScore) public NewScoreEventRow(NewScoreEvent newScore)
@ -124,7 +121,7 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
text.AddUserLink(newScore.Score.User); text.AddUserLink(newScore.Score.User);
text.AddText(" got "); text.AddText(" got ");
text.AddLink($"{newScore.Score.TotalScore:N0} points", () => PresentScore?.Invoke(newScore.Score)); text.AddLink($"{newScore.Score.TotalScore:N0} points", () => { }); // TODO: present the score here
if (newScore.NewRank != null) if (newScore.NewRank != null)
text.AddText($" and achieved rank #{newScore.NewRank.Value:N0}"); text.AddText($" and achieved rank #{newScore.NewRank.Value:N0}");