Remove unnecessary null casts

This commit is contained in:
Dean Herbert
2022-06-24 14:48:43 +09:00
parent f4173a3bff
commit f71f6302fd
23 changed files with 30 additions and 33 deletions

View File

@ -34,6 +34,6 @@ namespace osu.Game.Graphics.UserInterface
{
}
public override IconUsage? GetIconForState(bool state) => state ? (IconUsage?)FontAwesome.Solid.Check : null;
public override IconUsage? GetIconForState(bool state) => state ? FontAwesome.Solid.Check : null;
}
}