(enabled: boolean)
| 67 | } |
| 68 | |
| 69 | export async function setTelemetryEnabled(enabled: boolean): Promise<void> { |
| 70 | const settings = await loadSettings() |
| 71 | settings.telemetryEnabled = enabled |
| 72 | await saveSettings(settings) |
| 73 | } |
| 74 | |
| 75 | export async function getDeviceId(): Promise<string> { |
| 76 | const settings = await loadSettings() |
nothing calls this directly
no test coverage detected