[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,8 +483,11 @@ private extension AppViewController
{ {
@objc func didChangeApp(_ notification: Notification) @objc func didChangeApp(_ notification: Notification)
{ {
// Async so that AppManager.installationProgress(for:) is nil when we update.
DispatchQueue.main.async {
self.update() self.update()
} }
}
@objc func willEnterForeground(_ notification: Notification) @objc func willEnterForeground(_ notification: Notification)
{ {