mirror of https://github.com/ppy/osu
Allow DI for LoginOverlay to resolve to null in non-graphical environments (fix tests)
This commit is contained in:
parent
3d747835dc
commit
21e6351c53
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue