fix: default value of zen mode

zio/stable
三咲智子 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
1 changed files with 2 additions and 1 deletions

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: {},
} }