             Section {
                 if countdown.isScheduled {
                     DatePicker("Time and Date", selection: $countdown.date)
-                        .datePickerStyle(GraphicalDatePickerStyle())
+                        .datePickerStyle(.graphical)
                 } else {
                     LengthPicker(countdown: countdown)
                         .foregroundColor(.primary)

            Spacer()
            Text("Minutes:")
            TextField("", text: $minutesString)
                .keyboardType(.numbersAndPunctuation)
                .textFieldStyle(RoundedBorderTextFieldStyle())
                .frame(width: 50)
                .onChange(of: minutesString) { value in
                    if let minutes = Int(value), minutes >= 0 {

            Text("Seconds:")
                .padding(.leading)
            TextField("", text: $secondsString)
                .textFieldStyle(.roundedBorder)
                .keyboardType(.numbersAndPunctuation)
                .submitLabel(.done)
                .frame(width: 50)
                .onChange(of: secondsString) { value in
                    if let seconds = Int(value), seconds >= 0 {
