diff --git a/src/state/settingsState.ts b/src/state/settingsState.ts index 3717346..11714d8 100644 --- a/src/state/settingsState.ts +++ b/src/state/settingsState.ts @@ -20,23 +20,23 @@ const DEFAULT_TERMINAL = { } export class SettingsState { - lang: string + lang: string = '' // this is the asked mode - darkMode: boolean | 'auto' + darkMode: boolean | 'auto' = 'auto' - defaultViewMode: ViewModeName + defaultViewMode: ViewModeName = null // this is the current active mode - isDarkModeActive: boolean + isDarkModeActive: boolean = false - defaultFolder: string + defaultFolder: string = '' - defaultTerminal: string + defaultTerminal: string = '' - terminalTemplate: string + terminalTemplate: string = '' - version: string + version: string = '' constructor(version: string) { makeObservable(this, {