mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-18 03:03:31 +01:00
Limits “Change App Icon” option to BETA builds for now
This commit is contained in:
@@ -1568,7 +1568,11 @@ extension MyAppsViewController
|
|||||||
let changeIconMenu = UIMenu(title: NSLocalizedString("Change Icon", comment: ""), image: UIImage(systemName: "photo"), children: changeIconActions)
|
let changeIconMenu = UIMenu(title: NSLocalizedString("Change Icon", comment: ""), image: UIImage(systemName: "photo"), children: changeIconActions)
|
||||||
|
|
||||||
guard installedApp.bundleIdentifier != StoreApp.altstoreAppID else {
|
guard installedApp.bundleIdentifier != StoreApp.altstoreAppID else {
|
||||||
|
#if BETA
|
||||||
return [refreshAction, changeIconMenu]
|
return [refreshAction, changeIconMenu]
|
||||||
|
#else
|
||||||
|
return [refreshAction]
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if installedApp.isActive
|
if installedApp.isActive
|
||||||
@@ -1580,7 +1584,9 @@ extension MyAppsViewController
|
|||||||
actions.append(activateAction)
|
actions.append(activateAction)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if BETA
|
||||||
actions.append(changeIconMenu)
|
actions.append(changeIconMenu)
|
||||||
|
#endif
|
||||||
|
|
||||||
if installedApp.isActive
|
if installedApp.isActive
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user