diff --git a/Loop/Views/ManualEntryDoseView.swift b/Loop/Views/ManualEntryDoseView.swift index 443ae29eda..3d6d763c1d 100644 --- a/Loop/Views/ManualEntryDoseView.swift +++ b/Loop/Views/ManualEntryDoseView.swift @@ -157,17 +157,12 @@ struct ManualEntryDoseView: View { } private var datePicker: some View { // Allow 6 hours before & after due to longest DIA - ZStack(alignment: .topLeading) { - DatePicker( - String(""), - selection: $viewModel.selectedDoseDate, - in: Date().addingTimeInterval(-.hours(6))...Date().addingTimeInterval(.hours(6)), - displayedComponents: [.date, .hourAndMinute] - ) - .pickerStyle(WheelPickerStyle()) - - Text(NSLocalizedString("Date", comment: "Date picker label")) - } + DatePicker( + NSLocalizedString("Date", comment: "Date picker label"), + selection: $viewModel.selectedDoseDate, + in: Date().addingTimeInterval(-.hours(6))...Date().addingTimeInterval(.hours(6)), + displayedComponents: [.date, .hourAndMinute] + ) }