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
+3
View File
@@ -121,6 +121,7 @@ interface SettingsState {
// Calendar
showTimeInMonthView: boolean;
showWeekNumbers: boolean;
// Calendar Notifications
calendarNotificationsEnabled: boolean;
@@ -221,6 +222,7 @@ const DEFAULT_SETTINGS = {
// Calendar
showTimeInMonthView: false,
showWeekNumbers: false,
// Calendar Notifications
calendarNotificationsEnabled: true,
@@ -307,6 +309,7 @@ export const useSettingsStore = create<SettingsState>()(
calendarNotificationSound: state.calendarNotificationSound,
calendarInvitationParsingEnabled: state.calendarInvitationParsingEnabled,
showTimeInMonthView: state.showTimeInMonthView,
showWeekNumbers: state.showWeekNumbers,
toolbarPosition: state.toolbarPosition,
senderFavicons: state.senderFavicons,
folderIcons: state.folderIcons,