From c8b4ce8d38bc2d60346011e26971101876043cd2 Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Mon, 5 Oct 2020 13:59:44 -0700 Subject: [PATCH] =?UTF-8?q?Limits=20=E2=80=9CChange=20App=20Icon=E2=80=9D?= =?UTF-8?q?=20option=20to=20BETA=20builds=20for=20now?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AltStore/My Apps/MyAppsViewController.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/AltStore/My Apps/MyAppsViewController.swift b/AltStore/My Apps/MyAppsViewController.swift index f3a85a4d..43d1d3b5 100644 --- a/AltStore/My Apps/MyAppsViewController.swift +++ b/AltStore/My Apps/MyAppsViewController.swift @@ -1568,7 +1568,11 @@ extension MyAppsViewController let changeIconMenu = UIMenu(title: NSLocalizedString("Change Icon", comment: ""), image: UIImage(systemName: "photo"), children: changeIconActions) guard installedApp.bundleIdentifier != StoreApp.altstoreAppID else { + #if BETA return [refreshAction, changeIconMenu] + #else + return [refreshAction] + #endif } if installedApp.isActive @@ -1580,7 +1584,9 @@ extension MyAppsViewController actions.append(activateAction) } + #if BETA actions.append(changeIconMenu) + #endif if installedApp.isActive {