mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-10 15:23:27 +01:00
improve: move onboarding into a separate unstable feature
This commit is contained in:
@@ -62,7 +62,7 @@ final class LaunchViewController: RSTLaunchViewController, UIDocumentPickerDeleg
|
||||
#endif
|
||||
|
||||
#if !targetEnvironment(simulator)
|
||||
if UnstableFeatures.enabled(.swiftUI) && !UserDefaults.standard.onboardingComplete {
|
||||
if UnstableFeatures.enabled(.onboarding) && !UserDefaults.standard.onboardingComplete {
|
||||
self.showOnboarding()
|
||||
return
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ class UnstableFeatures {
|
||||
|
||||
case swiftUI = "386"
|
||||
case jitUrlScheme = "385"
|
||||
case onboarding = "000"
|
||||
|
||||
/// Dummy variant to ensure there is always at least one variant. DO NOT USE!
|
||||
case dummy = "dummy"
|
||||
|
||||
Reference in New Issue
Block a user