osu/osu.Game/Database/TooManyDownloadsNotificatio...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
783 B
C#
Raw Normal View History

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Overlays.Notifications;
2022-08-03 11:15:42 +00:00
using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Database
{
public partial class TooManyDownloadsNotification : SimpleNotification
{
2022-08-03 11:15:42 +00:00
public TooManyDownloadsNotification()
{
2022-08-03 11:15:42 +00:00
Text = BeatmapsetsStrings.DownloadLimitExceeded;
Icon = FontAwesome.Solid.ExclamationCircle;
}
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
IconContent.Colour = colours.RedDark;
}
}
}