1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-05 00:19:59 +00:00

fix: default value of zen mode

This commit is contained in:
三咲智子 Kevin Deng 2023-01-14 20:58:32 +08:00
parent 1cbaf68ea4
commit b3ff8a457d
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E

View file

@ -21,13 +21,14 @@ export interface UserSettings {
colorMode?: ColorMode colorMode?: ColorMode
fontSize: FontSize fontSize: FontSize
language: string language: string
zenMode?: boolean zenMode: boolean
} }
export function getDefaultUserSettings(): UserSettings { export function getDefaultUserSettings(): UserSettings {
return { return {
language: DEFAULT_LANGUAGE, language: DEFAULT_LANGUAGE,
fontSize: DEFAULT_FONT_SIZE, fontSize: DEFAULT_FONT_SIZE,
zenMode: false,
featureFlags: {}, featureFlags: {},
wellnessSettings: {}, wellnessSettings: {},
} }