diff --git a/Loop/Views/SettingsView.swift b/Loop/Views/SettingsView.swift index 375b45a2fc..d14812d7cf 100644 --- a/Loop/Views/SettingsView.swift +++ b/Loop/Views/SettingsView.swift @@ -236,7 +236,7 @@ extension SettingsView { sensitivityOverridesEnabled: FeatureFlags.sensitivityOverridesEnabled, adultChildInsulinModelSelectionEnabled: FeatureFlags.adultChildInsulinModelSelectionEnabled, delegate: self.viewModel.therapySettingsViewModelDelegate)) - .environmentObject(displayGlucoseUnitObservable) + .environmentObject(displayGlucosePreference) .environment(\.dismissAction, self.dismiss) .environment(\.appName, self.appName) .environment(\.chartColorPalette, .primary)