mirror of
https://github.com/ppy/osu.git
synced 2026-06-04 10:24:05 +08:00
Close a failed update notification immediately
Fixes visual issue pointed out at https://github.com/ppy/osu/discussions/15653#discussioncomment-1679263.
This commit is contained in:
@@ -103,7 +103,10 @@ namespace osu.Desktop.Updater
|
||||
}
|
||||
else
|
||||
{
|
||||
// In the case of an error, a separate notification will be displayed.
|
||||
notification.State = ProgressNotificationState.Cancelled;
|
||||
notification.Close();
|
||||
|
||||
Logger.Error(e, @"update failed!");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user