1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 19:03:08 +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

@ -172,17 +172,7 @@ namespace osu.Game.Screens.Menu
{
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;
}
});
loginOverlay?.Show();
return;
}