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
@ -171,18 +171,8 @@ namespace osu.Game.Screens.Menu
|
||||
private void onPlaylists()
|
||||
{
|
||||
if (api.State.Value != APIState.Online)
|
||||
{
|
||||
notifications?.Post(new SimpleNotification
|
||||
{
|
||||
Text = "You gotta be online to view playlists 'yo!",
|
||||
Icon = FontAwesome.Solid.Globe,
|
||||
Activated = () =>
|
||||
{
|
||||
loginOverlay?.Show();
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user