mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09: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