mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-28 07:34:32 +00:00
Hide all day events thingy
This commit is contained in:
parent
27e6172e99
commit
efc1c7b422
3 changed files with 39 additions and 8 deletions
|
|
@ -1731,8 +1731,6 @@ struct CalendarSettings: View {
|
|||
.settingsHighlight(id: highlightID("Show calendar"))
|
||||
|
||||
Section(header: Text("Event List")) {
|
||||
Toggle("Hide all-day events", isOn: $hideAllDayEvents)
|
||||
.settingsHighlight(id: highlightID("Hide all-day events"))
|
||||
Toggle("Hide completed reminders", isOn: $hideCompletedReminders)
|
||||
.settingsHighlight(id: highlightID("Hide completed reminders"))
|
||||
Toggle("Show full event titles", isOn: $showFullEventTitles)
|
||||
|
|
@ -1740,6 +1738,17 @@ struct CalendarSettings: View {
|
|||
Toggle("Auto-scroll to next event", isOn: $autoScrollToNextEvent)
|
||||
.settingsHighlight(id: highlightID("Auto-scroll to next event"))
|
||||
}
|
||||
|
||||
Section(header: Text("All-Day Events")) {
|
||||
Toggle("Hide all-day events", isOn: $hideAllDayEvents)
|
||||
.settingsHighlight(id: highlightID("Hide all-day events"))
|
||||
.disabled(!showCalendar)
|
||||
|
||||
Text("Turn this off to include all-day entries in the notch calendar and reminder live activity.")
|
||||
.font(.caption)
|
||||
.foregroundStyle(.secondary)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
}
|
||||
|
||||
Section(header: Text("Reminder Live Activity")) {
|
||||
Defaults.Toggle("Enable reminder live activity", key: .enableReminderLiveActivity)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue