1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 02:43:19 +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
parent d2b80fdbfc
commit ba614883ea

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
{