fix: add missing showTimeInMonthView and showOnMobile type definitions to settings store
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user