mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:17:23 +08:00
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
Block a user