Skip to content

Commit 28fe5fd

Browse files
committed
upd
1 parent be2d8cc commit 28fe5fd

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

apps/array/src/renderer/features/settings/components/SettingsView.tsx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,11 @@ export function SettingsView() {
5959
createPR,
6060
cursorGlow,
6161
desktopNotifications,
62-
autoConvertLongText,
6362
sendMessagesWith,
6463
setAutoRunTasks,
6564
setCreatePR,
6665
setCursorGlow,
6766
setDesktopNotifications,
68-
setAutoConvertLongText,
6967
setSendMessagesWith,
7068
} = useSettingsStore();
7169
const terminalLayoutMode = useTerminalLayoutStore(
@@ -167,18 +165,6 @@ export function SettingsView() {
167165
[terminalLayoutMode, setTerminalLayout],
168166
);
169167

170-
const handleAutoConvertLongTextChange = useCallback(
171-
(checked: boolean) => {
172-
track(ANALYTICS_EVENTS.SETTING_CHANGED, {
173-
setting_name: "auto_convert_long_text",
174-
new_value: checked,
175-
old_value: autoConvertLongText,
176-
});
177-
setAutoConvertLongText(checked);
178-
},
179-
[autoConvertLongText, setAutoConvertLongText],
180-
);
181-
182168
const handleSendMessagesWithChange = useCallback(
183169
(value: SendMessagesWith) => {
184170
track(ANALYTICS_EVENTS.SETTING_CHANGED, {

apps/array/src/renderer/features/settings/stores/settingsStore.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ interface SettingsStore {
1717
defaultModel: string;
1818
desktopNotifications: boolean;
1919
cursorGlow: boolean;
20-
autoConvertLongText: boolean;
2120
sendMessagesWith: SendMessagesWith;
2221

2322
setAutoRunTasks: (autoRun: boolean) => void;
@@ -29,7 +28,6 @@ interface SettingsStore {
2928
setDefaultModel: (model: string) => void;
3029
setDesktopNotifications: (enabled: boolean) => void;
3130
setCursorGlow: (enabled: boolean) => void;
32-
setAutoConvertLongText: (enabled: boolean) => void;
3331
setSendMessagesWith: (mode: SendMessagesWith) => void;
3432
}
3533

@@ -45,7 +43,6 @@ export const useSettingsStore = create<SettingsStore>()(
4543
defaultModel: DEFAULT_MODEL,
4644
desktopNotifications: true,
4745
cursorGlow: false,
48-
autoConvertLongText: true,
4946
sendMessagesWith: "enter",
5047

5148
setAutoRunTasks: (autoRun) => set({ autoRunTasks: autoRun }),
@@ -59,8 +56,6 @@ export const useSettingsStore = create<SettingsStore>()(
5956
setDesktopNotifications: (enabled) =>
6057
set({ desktopNotifications: enabled }),
6158
setCursorGlow: (enabled) => set({ cursorGlow: enabled }),
62-
setAutoConvertLongText: (enabled) =>
63-
set({ autoConvertLongText: enabled }),
6459
setSendMessagesWith: (mode) => set({ sendMessagesWith: mode }),
6560
}),
6661
{

0 commit comments

Comments
 (0)