fix: add missing showTimeInMonthView and showOnMobile type definitions to settings store

This commit is contained in:
Linus Rath
2026-03-20 18:17:31 +01:00
parent d68b81e6b8
commit a8be40579e
2 changed files with 10 additions and 0 deletions
+8
View File
@@ -45,6 +45,7 @@ export interface SidebarApp {
url: string;
icon: string; // Lucide icon name (e.g. 'Globe', 'Rss')
openMode: 'tab' | 'inline'; // Open in new tab or embed inline
showOnMobile: boolean;
}
// Available color palette for keywords
@@ -106,6 +107,9 @@ interface SettingsState {
sessionTimeout: number; // minutes (0 = never)
trustedSenders: string[]; // Email addresses that can load external content
// Calendar
showTimeInMonthView: boolean;
// Calendar Notifications
calendarNotificationsEnabled: boolean;
calendarNotificationSound: boolean;
@@ -201,6 +205,9 @@ const DEFAULT_SETTINGS = {
sessionTimeout: 0, // Never
trustedSenders: [] as string[],
// Calendar
showTimeInMonthView: false,
// Calendar Notifications
calendarNotificationsEnabled: true,
calendarNotificationSound: true,
@@ -284,6 +291,7 @@ export const useSettingsStore = create<SettingsState>()(
calendarNotificationsEnabled: state.calendarNotificationsEnabled,
calendarNotificationSound: state.calendarNotificationSound,
calendarInvitationParsingEnabled: state.calendarInvitationParsingEnabled,
showTimeInMonthView: state.showTimeInMonthView,
toolbarPosition: state.toolbarPosition,
senderFavicons: state.senderFavicons,
folderIcons: state.folderIcons,