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

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