OverrideStartAlarmEditor.swift 533 B

123456789101112131415161718192021222324
  1. // LoopFollow
  2. // OverrideStartAlarmEditor.swift
  3. import SwiftUI
  4. struct OverrideStartAlarmEditor: View {
  5. @Binding var alarm: Alarm
  6. var body: some View {
  7. Group {
  8. InfoBanner(
  9. text: "Alerts when an override begins.",
  10. alarmType: alarm.type
  11. )
  12. AlarmGeneralSection(alarm: $alarm)
  13. AlarmActiveSection(alarm: $alarm)
  14. AlarmAudioSection(alarm: $alarm, hideRepeat: true)
  15. AlarmSnoozeSection(alarm: $alarm)
  16. }
  17. }
  18. }