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:
Dean Herbert 2021-11-24 19:05:52 +09:00
parent 5ff62a8e04
commit 1dc1de3d1f

View File

@ -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!");
}
}