Option to disable telemetry

This commit is contained in:
Gregory Schier
2024-08-26 12:06:56 -07:00
parent c80ebdb156
commit f404aa53c6
23 changed files with 47 additions and 45 deletions

View File

@@ -1,6 +1,6 @@
import type { Cookie } from '@yaakapp/api';
import { useCookieJars } from '../hooks/useCookieJars';
import { useUpdateCookieJar } from '../hooks/useUpdateCookieJar';
import type { Cookie } from '../lib/models/Cookie';
import { cookieDomain } from '../lib/models';
import { Banner } from './core/Banner';
import { IconButton } from './core/IconButton';

View File

@@ -77,6 +77,12 @@ export function SettingsGeneral() {
{ label: 'New Window', value: 'new' },
]}
/>
<Checkbox
checked={settings.telemetry}
title="Send Usage Statistics"
onChange={(telemetry) => updateSettings.mutate({ telemetry })}
/>
<Separator className="my-4" />
<Heading size={2}>