Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fixed ui_monitoring toggle

matthew-heartful6da867f98a9d
diff --git a/screenpipe-app-tauri/lib/hooks/use-settings.tsx b/screenpipe-app-tauri/lib/hooks/use-settings.tsx
index b1fb48067..9b0b1d96e 100644
--- a/screenpipe-app-tauri/lib/hooks/use-settings.tsx
+++ b/screenpipe-app-tauri/lib/hooks/use-settings.tsx
@@ -294,6 +294,8 @@ export function useSettings() {
const savedEnableFrameCache =
(await store!.get<boolean>("enableFrameCache")) || false;
+ const savedEnableUiMonitoring = await store!.get<boolean>("enableUiMonitoring") || false;
+
setSettings({
openaiApiKey: savedKey,
deepgramApiKey: savedDeepgramKey,
@@ -328,7 +330,7 @@ export function useSettings() {
showScreenpipeShortcut: savedShowScreenpipeShortcut,
isFirstTimeUser: savedIsFirstTimeUser,
enableFrameCache: savedEnableFrameCache,
- enableUiMonitoring: false,
+ enableUiMonitoring: savedEnableUiMonitoring,
platform: currentPlatform,
});
} catch (error) {