Allow DI for LoginOverlay to resolve to null in non-graphical environments (fix tests)

This commit is contained in:
Lucas A 2020-01-05 14:33:44 +01:00
parent 3d747835dc
commit 21e6351c53

View File

@ -11,7 +11,7 @@ namespace osu.Game.Online.Placeholders
{
public sealed class LoginPlaceholder : Placeholder
{
[Resolved]
[Resolved(CanBeNull = true)]
private LoginOverlay login { get; set; }
public LoginPlaceholder(string action)