Rename method to mention "all"

This commit is contained in:
Dean Herbert 2022-06-06 20:12:18 +09:00
parent da000ee5f0
commit b104b7a90d
2 changed files with 2 additions and 2 deletions

View File

@ -319,7 +319,7 @@ namespace osu.Game.Beatmaps
});
}
public void DeleteVideos()
public void DeleteAllVideos()
{
realm.Write(r =>
{

View File

@ -67,7 +67,7 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
dialogOverlay?.Push(new MassVideoDeleteConfirmationDialog(() =>
{
deleteBeatmapVideosButton.Enabled.Value = false;
Task.Run(beatmaps.DeleteVideos).ContinueWith(t => Schedule(() => deleteBeatmapVideosButton.Enabled.Value = true));
Task.Run(beatmaps.DeleteAllVideos).ContinueWith(t => Schedule(() => deleteBeatmapVideosButton.Enabled.Value = true));
}));
}
});