Improve statement readability

This commit is contained in:
Andrei Zavatski 2021-05-15 19:14:58 +03:00
parent e479db9186
commit 3e1b1c6c3e

View File

@ -78,7 +78,7 @@ namespace osu.Game.Overlays.News.Sidebar
var allPosts = metadata.NewValue.NewsPosts;
if (!allPosts?.Any() ?? true)
if (allPosts?.Any() != true)
return;
var lookup = metadata.NewValue.NewsPosts.ToLookup(post => post.PublishedAt.Month);