mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:42:55 +08:00
implement 2a3a0c1
for playlists as well
This commit is contained in:
parent
2a3a0c1cd3
commit
4f80651606
@ -172,17 +172,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
{
|
{
|
||||||
if (api.State.Value != APIState.Online)
|
if (api.State.Value != APIState.Online)
|
||||||
{
|
{
|
||||||
notifications?.Post(new SimpleNotification
|
loginOverlay?.Show();
|
||||||
{
|
|
||||||
Text = "You gotta be online to view playlists 'yo!",
|
|
||||||
Icon = FontAwesome.Solid.Globe,
|
|
||||||
Activated = () =>
|
|
||||||
{
|
|
||||||
loginOverlay?.Show();
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user