diff --git a/Delta/Base.lproj/Settings.storyboard b/Delta/Base.lproj/Settings.storyboard index ded0fc2..f185163 100644 --- a/Delta/Base.lproj/Settings.storyboard +++ b/Delta/Base.lproj/Settings.storyboard @@ -506,6 +506,26 @@ + + + + + + + + + + + + + + + diff --git a/Delta/Settings/SettingsViewController.swift b/Delta/Settings/SettingsViewController.swift index 23f28a2..b83b4ed 100644 --- a/Delta/Settings/SettingsViewController.swift +++ b/Delta/Settings/SettingsViewController.swift @@ -25,6 +25,7 @@ private extension SettingsViewController case syncing case hapticTouch case cores + case advanced case patreon case credits } @@ -287,6 +288,12 @@ private extension SettingsViewController let hostingController = ContributorsView.makeViewController() self.navigationController?.pushViewController(hostingController, animated: true) } + + func showExperimentalFeatures() + { + let hostingController = ExperimentalFeaturesView.makeViewController() + self.navigationController?.pushViewController(hostingController, animated: true) + } } private extension SettingsViewController @@ -386,7 +393,7 @@ extension SettingsViewController let preferredCore = Settings.preferredCore(for: .ds) cell.detailTextLabel?.text = preferredCore?.metadata?.name.value ?? preferredCore?.name ?? NSLocalizedString("Unknown", comment: "") - case .controllerOpacity, .gameAudio, .hapticFeedback, .hapticTouch, .patreon, .credits: break + case .controllerOpacity, .gameAudio, .hapticFeedback, .hapticTouch, .advanced, .patreon, .credits: break } return cell @@ -403,6 +410,7 @@ extension SettingsViewController case .controllerSkins: self.performSegue(withIdentifier: Segue.controllerSkins.rawValue, sender: cell) case .cores: self.performSegue(withIdentifier: Segue.dsSettings.rawValue, sender: cell) case .controllerOpacity, .gameAudio, .hapticFeedback, .hapticTouch, .syncing: break + case .advanced: self.showExperimentalFeatures() case .patreon: let patreonURL = URL(string: "altstore://patreon")!