1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 03:19:52 +08:00

used Any() instead of manually checking count == 0 (CI)

This commit is contained in:
FreezyLemon
2017-12-18 11:16:57 +01:00
Unverified
parent d2b80fdbfc
commit ba614883ea
+1 -1
View File
@@ -343,7 +343,7 @@ namespace osu.Game.Beatmaps
{
var mapSets = QueryBeatmapSets(bs => bs.DeletePending);
if (mapSets.Count() == 0) return;
if (!mapSets.Any()) return;
var notification = new ProgressNotification
{