1
0
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:
chickensalt 2022-04-20 10:33:06 +10:00
parent 2a3a0c1cd3
commit 4f80651606

View File

@ -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;
}