1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 03:07:26 +08:00
osu-lazer/osu.Game/Database/TooManyDownloadsNotification.cs

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 19:15:42 +08:00
using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Database
{
public partial class TooManyDownloadsNotification : SimpleNotification
{
2022-08-03 19:15:42 +08:00
public TooManyDownloadsNotification()
{
2022-08-03 19:15:42 +08:00
Text = BeatmapsetsStrings.DownloadLimitExceeded;
Icon = FontAwesome.Solid.ExclamationCircle;
}
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
IconContent.Colour = colours.RedDark;
}
}
}