mirror of https://github.com/ppy/osu
Allow using OnlineViewContainer without deriving it
This commit is contained in:
parent
1d567e2b2d
commit
71316bbee5
|
@ -15,7 +15,7 @@ namespace osu.Game.Online
|
|||
/// A <see cref="Container"/> for displaying online content which require a local user to be logged in.
|
||||
/// Shows its children only when the local user is logged in and supports displaying a placeholder if not.
|
||||
/// </summary>
|
||||
public abstract class OnlineViewContainer : Container
|
||||
public class OnlineViewContainer : Container
|
||||
{
|
||||
protected LoadingSpinner LoadingSpinner { get; private set; }
|
||||
|
||||
|
@ -30,7 +30,7 @@ public abstract class OnlineViewContainer : Container
|
|||
[Resolved]
|
||||
protected IAPIProvider API { get; private set; }
|
||||
|
||||
protected OnlineViewContainer(string placeholderMessage)
|
||||
public OnlineViewContainer(string placeholderMessage)
|
||||
{
|
||||
this.placeholderMessage = placeholderMessage;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue