mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 15:27:30 +08:00
Remove unused delegate for now
To silence inspections.
This commit is contained in:
parent
8c4aa84037
commit
3884bce239
@ -1,7 +1,6 @@
|
||||
// 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.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using osu.Framework.Allocation;
|
||||
@ -82,8 +81,6 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
|
||||
|
||||
private partial class NewScoreEventRow : CompositeDrawable
|
||||
{
|
||||
public Action<IScoreInfo>? PresentScore { get; set; }
|
||||
|
||||
private readonly NewScoreEvent newScore;
|
||||
|
||||
public NewScoreEventRow(NewScoreEvent newScore)
|
||||
@ -124,7 +121,7 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
|
||||
|
||||
text.AddUserLink(newScore.Score.User);
|
||||
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)
|
||||
text.AddText($" and achieved rank #{newScore.NewRank.Value:N0}");
|
||||
|
Loading…
Reference in New Issue
Block a user