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
fontSize: FontSize
language: string
zenMode?: boolean
zenMode: boolean
}
export function getDefaultUserSettings(): UserSettings {
return {
language: DEFAULT_LANGUAGE,
fontSize: DEFAULT_FONT_SIZE,
zenMode: false,
featureFlags: {},
wellnessSettings: {},
}