Fix not being able to show resumed update in utmost focus (#1948)

This fixes a minor bug where canCheckForUpdates returned NO on a user initiated update check that shows an update that was already downloaded / begun installing. Now that it returns YES, the update can be shown in utmost focus by the user again.
This commit is contained in:
Zorg authored and GitHub committed 2021-09-12 14:57:29 -07:00
1 parent c60f12ab47
commit 0f53f65241
1 file changed
+7
+7
View File
@@ -72,6 +72,13 @@
[self.uiDriver resumeUpdate:resumableUpdate];
}
- (void)uiDriverDidShowUpdate
{
// When a new update check has not been initiated and an update has been resumed,
// update the driver to indicate we are showing an update to the user
self.showingUpdate = YES;
}
- (void)basicDriverIsRequestingAbortUpdateWithError:(nullable NSError *)error
{
[self abortUpdateWithError:error];