From c1d6ef2b9f69c99c1f571f63e8194ca32774ee5f Mon Sep 17 00:00:00 2001 From: Anna Date: Mon, 20 Jul 2020 10:29:31 -0700 Subject: [PATCH] Update title --- .../View Controllers/PrescriptionReviewUICoordinator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TidepoolServiceKitUI/View Controllers/PrescriptionReviewUICoordinator.swift b/TidepoolServiceKitUI/View Controllers/PrescriptionReviewUICoordinator.swift index d46df3d..377d0c3 100644 --- a/TidepoolServiceKitUI/View Controllers/PrescriptionReviewUICoordinator.swift +++ b/TidepoolServiceKitUI/View Controllers/PrescriptionReviewUICoordinator.swift @@ -125,7 +125,7 @@ class PrescriptionReviewUICoordinator: UINavigationController, CompletionNotifyi let view = CorrectionRangeOverrideInformationView(onExit: exiting) let hostedView = DismissibleHostingController(rootView: view) hostedView.navigationItem.largeTitleDisplayMode = .always // TODO: hack to fix jumping, will be removed once editors have titles - hostedView.title = LocalizedString("Temporary Ranges", comment: "Title for temporary correction range informational screen") // TODO: make this title be "Temporary Correction Ranges" when SwiftUI supports multi-line titles + hostedView.title = TherapySetting.correctionRangeOverrides.title return hostedView case .correctionRangeOverrideEditor: let view = CorrectionRangeOverrideReview(model: settingsViewModel)