mirror of https://github.com/ppy/osu
Change collection deletion notif to be consistent
This commit is contained in:
parent
eacf7210ae
commit
e0cef6686d
|
@ -12,6 +12,7 @@
|
||||||
using osu.Framework.Allocation;
|
using osu.Framework.Allocation;
|
||||||
using osu.Framework.Bindables;
|
using osu.Framework.Bindables;
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
|
using osu.Framework.Graphics.Sprites;
|
||||||
using osu.Framework.Logging;
|
using osu.Framework.Logging;
|
||||||
using osu.Framework.Platform;
|
using osu.Framework.Platform;
|
||||||
using osu.Game.Beatmaps;
|
using osu.Game.Beatmaps;
|
||||||
|
@ -230,7 +231,7 @@ private List<BeatmapCollection> readCollections(Stream stream, ProgressNotificat
|
||||||
public void DeleteAll()
|
public void DeleteAll()
|
||||||
{
|
{
|
||||||
Collections.Clear();
|
Collections.Clear();
|
||||||
PostNotification?.Invoke(new SimpleNotification { Text = "Deleted all collections!" });
|
PostNotification?.Invoke(new ProgressCompletionNotification { Text = "Deleted all collections!"});
|
||||||
}
|
}
|
||||||
|
|
||||||
private readonly object saveLock = new object();
|
private readonly object saveLock = new object();
|
||||||
|
|
Loading…
Reference in New Issue