feat: enable telemetry toggle button

This commit is contained in:
liyasthomas
2021-07-07 06:30:49 +05:30
parent 7b3dd697bb
commit 20d38e247b
5 changed files with 22 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ export type SettingsType = {
}
THEME_COLOR: HoppAccentColor
BG_COLOR: HoppBgColor
TELEMETRY_ENABLED: boolean
}
export const defaultSettings: SettingsType = {
@@ -62,6 +63,7 @@ export const defaultSettings: SettingsType = {
},
THEME_COLOR: "green",
BG_COLOR: "system",
TELEMETRY_ENABLED: true,
}
const validKeys = Object.keys(defaultSettings)