1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-23 19:07:20 +08:00

Filename does not match contained type

This commit is contained in:
Matthias Coenraerds 2019-01-04 20:32:52 +01:00
parent cd5b7dfd8d
commit a93c26ccfd
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ using System.Linq;
namespace osu.Game.Screens.Select
{
public class ClearScoresDialog : PopupDialog
public class BeatmapClearScoresDialog : PopupDialog
{
private ScoreManager manager;
@ -22,7 +22,7 @@ namespace osu.Game.Screens.Select
manager = beatmapManager;
}
public ClearScoresDialog(BeatmapSetInfo beatmap, IEnumerable<ScoreInfo> scores, Action refresh)
public BeatmapClearScoresDialog(BeatmapSetInfo beatmap, IEnumerable<ScoreInfo> scores, Action refresh)
{
BodyText = $@"{beatmap.Metadata?.Artist} - {beatmap.Metadata?.Title}";

View File

@ -631,7 +631,7 @@ namespace osu.Game.Screens.Select
if (BeatmapDetails.Leaderboard.Scores == null || !BeatmapDetails.Leaderboard.Scores.Any()) return;
dialogOverlay?.Push(new ClearScoresDialog(beatmap, BeatmapDetails.Leaderboard.Scores, () => BeatmapDetails.Leaderboard.RefreshScores()));
dialogOverlay?.Push(new BeatmapClearScoresDialog(beatmap, BeatmapDetails.Leaderboard.Scores, () => BeatmapDetails.Leaderboard.RefreshScores()));
}
public override bool OnPressed(GlobalAction action)