mirror of
https://github.com/ppy/osu
synced 2024-12-23 23:33:36 +00: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:
parent
5ff62a8e04
commit
1dc1de3d1f
@ -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!");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user