feat: add setting to toggle alphabetical grouping in contacts list
This commit is contained in:
@@ -160,6 +160,9 @@ interface SettingsState {
|
||||
showBirthdayCalendar: boolean;
|
||||
birthdayCalendarColor: string;
|
||||
|
||||
// Contacts Display
|
||||
groupContactsByLetter: boolean;
|
||||
|
||||
// Email Notifications
|
||||
emailNotificationsEnabled: boolean;
|
||||
emailNotificationSound: boolean;
|
||||
@@ -304,6 +307,9 @@ const DEFAULT_SETTINGS = {
|
||||
showBirthdayCalendar: false,
|
||||
birthdayCalendarColor: '#eab308',
|
||||
|
||||
// Contacts Display
|
||||
groupContactsByLetter: true,
|
||||
|
||||
// Email Notifications
|
||||
emailNotificationsEnabled: true,
|
||||
emailNotificationSound: true,
|
||||
@@ -459,6 +465,7 @@ export const useSettingsStore = create<SettingsState>()(
|
||||
showTasksOnCalendar: state.showTasksOnCalendar,
|
||||
showBirthdayCalendar: state.showBirthdayCalendar,
|
||||
birthdayCalendarColor: state.birthdayCalendarColor,
|
||||
groupContactsByLetter: state.groupContactsByLetter,
|
||||
expandedFilterView: state.expandedFilterView,
|
||||
showTimeInMonthView: state.showTimeInMonthView,
|
||||
showWeekNumbers: state.showWeekNumbers,
|
||||
|
||||
Reference in New Issue
Block a user