From aea9b724b1ad1ca4b366f302cac976c586a3893e Mon Sep 17 00:00:00 2001 From: Kiet Ho Date: Mon, 23 Sep 2024 16:47:55 -0400 Subject: [PATCH] Update analytics preference --- app/electron/main/events/analytics.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/electron/main/events/analytics.ts b/app/electron/main/events/analytics.ts index 7b04df29a..d839a61d0 100644 --- a/app/electron/main/events/analytics.ts +++ b/app/electron/main/events/analytics.ts @@ -4,6 +4,7 @@ import { MainChannels } from '/common/constants'; export function listenForAnalyticsMessages() { ipcMain.on(MainChannels.UPDATE_ANALYTICS_PREFERENCE, (e: Electron.IpcMainInvokeEvent, args) => { + // TODO: Handle this in update user settings. Check for enabledAnalytics. const analyticsPref = args as boolean; analytics.toggleSetting(analyticsPref); });