chore: fix prefs open by default
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user