mirror of
https://github.com/ppy/osu.git
synced 2026-05-29 04:49:58 +08:00
Improve statement readability
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user