[AltStore] Fixes download button not updating after installing app

This commit is contained in:
Riley Testut
2019-07-31 11:11:31 -07:00
parent ff83fcf90d
commit 16b2db5538

View File

@@ -483,7 +483,10 @@ private extension AppViewController
{
@objc func didChangeApp(_ notification: Notification)
{
self.update()
// Async so that AppManager.installationProgress(for:) is nil when we update.
DispatchQueue.main.async {
self.update()
}
}
@objc func willEnterForeground(_ notification: Notification)