mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 17:37:23 +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:
parent
5ff62a8e04
commit
1dc1de3d1f
@ -103,7 +103,10 @@ namespace osu.Desktop.Updater
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// In the case of an error, a separate notification will be displayed.
|
||||||
notification.State = ProgressNotificationState.Cancelled;
|
notification.State = ProgressNotificationState.Cancelled;
|
||||||
|
notification.Close();
|
||||||
|
|
||||||
Logger.Error(e, @"update failed!");
|
Logger.Error(e, @"update failed!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user