chore(core): add telemetry switch (#6267)

This commit is contained in:
Brooooooklyn committed 2024-03-22 10:28:55 +00:00
1 parent a0b97f948c
commit 622e90f176
3 files changed
+26

No files matched your search

@@ -32,6 +32,7 @@ export type AppSetting = {
autoCheckUpdate: boolean;
autoDownloadUpdate: boolean;
enableMultiView: boolean;
enableTelemetry: boolean;
editorFlags: Partial<Omit<BlockSuiteFlags, 'readonly'>>;
};
export const windowFrameStyleOptions: AppSetting['windowFrameStyle'][] = [
@@ -71,6 +72,7 @@ const appSettingBaseAtom = atomWithStorage<AppSetting>('affine-settings', {
enableNoisyBackground: true,
autoCheckUpdate: true,
autoDownloadUpdate: true,
enableTelemetry: true,
enableMultiView: false,
editorFlags: {},
});