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

fix: type error in privacy-section ignoreIncognitoWindows Switch

Louis Beaumontc0f0d367388c
diff --git a/apps/screenpipe-app-tauri/components/settings/privacy-section.tsx b/apps/screenpipe-app-tauri/components/settings/privacy-section.tsx
index 099829bc4..5059dcd42 100644
--- a/apps/screenpipe-app-tauri/components/settings/privacy-section.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/privacy-section.tsx
@@ -422,7 +422,7 @@ export function PrivacySection() {
</div>
<Switch
id="ignoreIncognitoWindows"
- checked={settings.ignoreIncognitoWindows ?? true}
+ checked={Boolean(settings.ignoreIncognitoWindows ?? true)}
onCheckedChange={handleIncognitoToggle}
/>
</div>