chore: fix prefs open by default

This commit is contained in:
Aman Harwara
2023-05-03 01:43:42 +05:30
parent 90d1ead9e3
commit 2eddc3a1c6

View File

@@ -4,10 +4,10 @@ import { PreferenceId, RootQueryParam } from '@standardnotes/ui-services'
import { AbstractViewController } from './Abstract/AbstractViewController' import { AbstractViewController } from './Abstract/AbstractViewController'
import { WebApplication } from '@/Application/Application' import { WebApplication } from '@/Application/Application'
const DEFAULT_PANE: PreferenceId = 'backups' const DEFAULT_PANE: PreferenceId = 'account'
export class PreferencesController extends AbstractViewController { export class PreferencesController extends AbstractViewController {
private _open = true private _open = false
currentPane: PreferenceId = DEFAULT_PANE currentPane: PreferenceId = DEFAULT_PANE
constructor(application: WebApplication, eventBus: InternalEventBus) { constructor(application: WebApplication, eventBus: InternalEventBus) {