From 5853aaa7780531892bba4f1aa17ec8fa8a6f3049 Mon Sep 17 00:00:00 2001 From: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com> Date: Sat, 27 May 2023 22:21:36 -0700 Subject: [PATCH] update comment with URL of example of onEnable and onDisable hooks to use a more permanent URL Signed-off-by: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com> --- AltStore/Unstable Features/UnstableFeatures.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AltStore/Unstable Features/UnstableFeatures.swift b/AltStore/Unstable Features/UnstableFeatures.swift index f2cb05c9..3671be79 100644 --- a/AltStore/Unstable Features/UnstableFeatures.swift +++ b/AltStore/Unstable Features/UnstableFeatures.swift @@ -33,7 +33,7 @@ class UnstableFeatures { // If your unstable feature is stable enough to be used by nightly users who are not alpha testers or developers, // you may want to have it available in the Unstable Features menu in Advanced Settings (outside of dev mode). To do so, add this: //case .yourFeature: return Metadata(availableOutsideDevMode: true) - // You can also add custom hooks for when your feature is enabled or disabled. However, we strongly recommend moving these to a new file. Example: https://github.com/SideStore/SideStore/blob/feature/unstable-features/AltStore/Unstable%20Features/UnstableFeatures+SwiftUI.swift + // You can also add custom hooks for when your feature is enabled or disabled. However, we strongly recommend moving these to a new file. Example: https://github.com/SideStore/SideStore/blob/026392dbc7a5454a39b9287f469d32b5e6768bb8/AltStore/Unstable%20Features/UnstableFeatures%2BSwiftUI.swift // Please keep the ordering of the cases in this switch statement the same as the ordering of the enum variants! case .swiftUI: return Metadata(availableOutsideDevMode: true, onEnable: SwiftUI.onEnable, onDisable: SwiftUI.onDisable)