mirror of
https://github.com/ppy/osu
synced 2024-12-13 18:37:04 +00:00
Improve statement readability
This commit is contained in:
parent
e479db9186
commit
3e1b1c6c3e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user