mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Removes “Delete App” functionality for non-debug builds
No longer necessary now that AltStore can detect when apps are uninstalled, but still useful for development.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user