Skip to content

main/settings-page

connectSettingsPage(router, settings, definitions, internal, startValues): Disposable

Defined in: app/src/main/settings-page.ts:43

Connects the settings page to the settings: it reads and writes every setting that has a place on the page, and hears about every change, wherever it came from.

IpcRouter

IPC router.

SettingsService

Loaded settings.

readonly SettingDefinition<unknown>[]

All settings; those with ui metadata appear on the page.

Session

Session of the browser’s own views, whose pages receive changes.

ReadonlyMap<string, string>

The values, as JSON, that the settings which need a restart had when the browser started.

Disposable

A disposable that stops publishing changes.