| 1234567891011121314151617181920212223242526272829303132 |
- // LoopFollow
- // BuildExpireAlarmEditor.swift
- import SwiftUI
- struct BuildExpireAlarmEditor: View {
- @Binding var alarm: Alarm
- var body: some View {
- Group {
- InfoBanner(
- text: String(localized: "Sends a reminder before the looping-app build you’re following reaches its TestFlight or Xcode expiry date. Works with Trio 0.4 and later.")
- )
- AlarmGeneralSection(alarm: $alarm)
- AlarmStepperSection(
- header: String(localized: "Notice Period"),
- footer: String(localized: "Choose how many days of notice you’d like before the build becomes unusable."),
- title: String(localized: "Days of notice"),
- range: 1 ... 14,
- step: 1,
- unitLabel: alarm.type.snoozeTimeUnit.label,
- value: $alarm.threshold
- )
- AlarmActiveSection(alarm: $alarm)
- AlarmAudioSection(alarm: $alarm)
- AlarmSnoozeSection(alarm: $alarm)
- }
- }
- }
|