mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-03 08:06:59 +00:00
feat: show calendar events in light tinted colours on request
This commit is contained in:
@@ -44,6 +44,7 @@ export function CalendarSettings() {
|
||||
const timeZone = useSettingsStore((s) => s.calendarTimeZone);
|
||||
const showTimeInMonth = useSettingsStore((s) => s.calendarShowTimeInMonth);
|
||||
const showWeekNumbers = useSettingsStore((s) => s.calendarShowWeekNumbers);
|
||||
const tintedEvents = useSettingsStore((s) => s.calendarTintedEvents);
|
||||
const freeScroll = useSettingsStore((s) => s.calendarFreeScroll);
|
||||
const birthdayCal = useSettingsStore((s) => s.showBirthdayCalendar);
|
||||
const tasksEnabled = useSettingsStore((s) => s.enableCalendarTasks);
|
||||
@@ -135,6 +136,19 @@ export function CalendarSettings() {
|
||||
/>
|
||||
</SettingItem>
|
||||
|
||||
<SettingItem
|
||||
label={t('calendar.settings.tinted_events', 'Light event colors')}
|
||||
description={t(
|
||||
'calendar.settings.tinted_events_desc',
|
||||
'Show events as a light tint of their calendar color with a colored bar at the start, as in Outlook and on printouts, instead of solid blocks.',
|
||||
)}
|
||||
>
|
||||
<ToggleSwitch
|
||||
checked={tintedEvents}
|
||||
onChange={(v) => update('calendarTintedEvents', v)}
|
||||
/>
|
||||
</SettingItem>
|
||||
|
||||
<SettingItem
|
||||
label={t('calendar.settings.show_week_numbers', 'Show week numbers')}
|
||||
description={t('calendar.settings.show_week_numbers_mobile_desc', 'Display week numbers in the month view.')}
|
||||
|
||||
Reference in New Issue
Block a user