Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Loop/Views/SettingsView+algorithmExperimentsSection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ public struct ExperimentsSettingsView: View {
.foregroundColor(.secondary)

Divider()
NavigationLink(destination: GuardAndRunwaySelectionView(isGuardAndRunwayEnabled: $isGuardAndRunwayEnabled)) {
ExperimentRow(
name: NSLocalizedString("Guard + Runway", comment: "Title of guard and runway experiment"),
enabled: isGuardAndRunwayEnabled)
}
NavigationLink(destination: GlucoseBasedApplicationFactorSelectionView(isGlucoseBasedApplicationFactorEnabled: $isGlucoseBasedApplicationFactorEnabled, automaticDosingStrategy: automaticDosingStrategy)) {
ExperimentRow(
name: NSLocalizedString("Glucose Based Partial Application", comment: "Title of glucose based partial application experiment"),
Expand All @@ -71,11 +76,6 @@ public struct ExperimentsSettingsView: View {
name: NSLocalizedString("Integral Retrospective Correction", comment: "Title of integral retrospective correction experiment"),
enabled: isIntegralRetrospectiveCorrectionEnabled)
}
NavigationLink(destination: GuardAndRunwaySelectionView(isGuardAndRunwayEnabled: $isGuardAndRunwayEnabled)) {
ExperimentRow(
name: NSLocalizedString("Guard + Runway", comment: "Title of guard and runway experiment"),
enabled: isGuardAndRunwayEnabled)
}
Spacer()
}
.padding()
Expand Down