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 @@
namespace osu.Game.Screens.Select
{
public class ClearScoresDialog : PopupDialog
public class BeatmapClearScoresDialog : PopupDialog
{
private ScoreManager manager;
@ -22,7 +22,7 @@ private void load(ScoreManager beatmapManager)
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 @@ private void clearScores(BeatmapSetInfo beatmap)
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)