Move NotificationSection strings to constructor

This commit is contained in:
Dean Herbert
2019-06-20 17:41:12 +09:00
parent 35ce032be1
commit 6bc2cf85d1
2 changed files with 15 additions and 36 deletions

View File

@ -58,16 +58,12 @@ namespace osu.Game.Overlays
RelativeSizeAxes = Axes.X,
Children = new[]
{
new NotificationSection
new NotificationSection(@"Notifications", @"Clear All")
{
Title = @"Notifications",
ClearText = @"Clear All",
AcceptTypes = new[] { typeof(SimpleNotification) }
},
new NotificationSection
new NotificationSection(@"Running Tasks", @"Cancel All")
{
Title = @"Running Tasks",
ClearText = @"Cancel All",
AcceptTypes = new[] { typeof(ProgressNotification) }
}
}