diff --git a/AltStore/My Apps/MyAppsViewController.swift b/AltStore/My Apps/MyAppsViewController.swift index 8cde5c26..09c13dee 100644 --- a/AltStore/My Apps/MyAppsViewController.swift +++ b/AltStore/My Apps/MyAppsViewController.swift @@ -742,9 +742,16 @@ private extension MyAppsViewController else { return } let installedApp = self.dataSource.item(at: indexPath) - guard installedApp.storeApp == nil else { return } + #if DEBUG self.presentAlert(for: installedApp) + #else + if (UserDefaults.standard.legacySideloadedApps ?? []).contains(installedApp.bundleIdentifier) + { + // Only display alert for legacy sideloaded apps. + self.presentAlert(for: installedApp) + } + #endif } @objc func importApp(_ notification: Notification)