mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 17:37:23 +09:00
Fix code format
This commit is contained in:
parent
411916d4a3
commit
37e4301773
@ -22,21 +22,12 @@ namespace osu.Game.Graphics.Containers
|
|||||||
}
|
}
|
||||||
|
|
||||||
private OsuGame game;
|
private OsuGame game;
|
||||||
private ChannelManager channelManager;
|
|
||||||
private Action showNotImplementedError;
|
|
||||||
|
|
||||||
[BackgroundDependencyLoader(true)]
|
[BackgroundDependencyLoader(true)]
|
||||||
private void load(OsuGame game, NotificationOverlay notifications, ChannelManager channelManager)
|
private void load(OsuGame game)
|
||||||
{
|
{
|
||||||
// will be null in tests
|
// will be null in tests
|
||||||
this.game = game;
|
this.game = game;
|
||||||
this.channelManager = channelManager;
|
|
||||||
|
|
||||||
showNotImplementedError = () => notifications?.Post(new SimpleNotification
|
|
||||||
{
|
|
||||||
Text = @"This link type is not yet supported!",
|
|
||||||
Icon = FontAwesome.Solid.LifeRing,
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void AddLinks(string text, List<Link> links)
|
public void AddLinks(string text, List<Link> links)
|
||||||
|
@ -231,7 +231,7 @@ namespace osu.Game
|
|||||||
case LinkAction.OpenEditorTimestamp:
|
case LinkAction.OpenEditorTimestamp:
|
||||||
case LinkAction.JoinMultiplayerMatch:
|
case LinkAction.JoinMultiplayerMatch:
|
||||||
case LinkAction.Spectate:
|
case LinkAction.Spectate:
|
||||||
showNotImplementedError?.Invoke();
|
showNotImplementedError.Invoke();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LinkAction.External:
|
case LinkAction.External:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user