1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-31 23:10:31 +08:00

Use SimpleErrorNotification for error display

This commit is contained in:
Dean Herbert
2023-11-21 15:09:33 +09:00
Unverified
parent 917a68eac3
commit 7c5345bf7e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -562,7 +562,7 @@ namespace osu.Game
{
if (ScreenStack.CurrentScreen is not Editor editor)
{
Schedule(() => Notifications.Post(new SimpleNotification
Schedule(() => Notifications.Post(new SimpleErrorNotification
{
Icon = FontAwesome.Solid.ExclamationTriangle,
Text = EditorStrings.MustBeInEditorToHandleLinks
+1 -1
View File
@@ -1143,7 +1143,7 @@ namespace osu.Game.Screens.Edit
{
if (!EditorTimestampParser.TryParse(timestamp, out var timeSpan, out string selection))
{
Schedule(() => notifications?.Post(new SimpleNotification
Schedule(() => notifications?.Post(new SimpleErrorNotification
{
Icon = FontAwesome.Solid.ExclamationTriangle,
Text = EditorStrings.FailedToParseEditorLink