feat: add option to show week numbers in mini-calendar

This commit is contained in:
Linus Rath
2026-03-21 20:45:16 +01:00
parent 09eda86d3f
commit c73940e22a
12 changed files with 86 additions and 28 deletions
+11
View File
@@ -15,6 +15,7 @@ export function CalendarSettings() {
timeFormat,
firstDayOfWeek,
showTimeInMonthView,
showWeekNumbers,
calendarNotificationsEnabled,
calendarNotificationSound,
calendarInvitationParsingEnabled,
@@ -68,6 +69,16 @@ export function CalendarSettings() {
/>
</SettingItem>
<SettingItem
label={t('show_week_numbers')}
description={t('show_week_numbers_desc')}
>
<ToggleSwitch
checked={showWeekNumbers}
onChange={(checked) => updateSetting('showWeekNumbers', checked)}
/>
</SettingItem>
<SettingItem
label={t('notifications_enabled')}
description={t('notifications_enabled_desc')}