Change collection deletion notif to be consistent

This commit is contained in:
S Stewart 2020-09-19 14:54:14 -05:00
parent eacf7210ae
commit e0cef6686d
1 changed files with 2 additions and 1 deletions

View File

@ -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();