|
|
@@ -54,17 +54,15 @@ extension CGM {
|
|
|
Text("Calibrations").navigationLink(to: .calibrations, from: self)
|
|
|
}
|
|
|
Section(header: Text("Calendar")) {
|
|
|
- Toggle("Create events in calendar", isOn: $state.createCalendarEvents)
|
|
|
+ Toggle("Create Events in Calendar", isOn: $state.createCalendarEvents)
|
|
|
if state.calendarIDs.isNotEmpty {
|
|
|
Picker("Calendar", selection: $state.currentCalendarID) {
|
|
|
ForEach(state.calendarIDs, id: \.self) {
|
|
|
Text($0).tag($0)
|
|
|
}
|
|
|
}
|
|
|
+ Toggle("Display Emojis as Labels", isOn: $state.displayCalendarEmojis)
|
|
|
Toggle("Display IOB and COB", isOn: $state.displayCalendarIOBandCOB)
|
|
|
- if state.displayCalendarIOBandCOB {
|
|
|
- Toggle("Display Emojis", isOn: $state.displayCalendarEmojis)
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
|