mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-06 19:31:41 +00:00
19 lines
475 B
JavaScript
19 lines
475 B
JavaScript
|
|
import { t } from '../../core/localizer';
|
|
import { uiPane } from '../pane';
|
|
import { uiSectionPrivacy } from '../sections/privacy';
|
|
|
|
export function uiPanePreferences(context) {
|
|
|
|
let preferencesPane = uiPane('preferences', context)
|
|
.key(t('preferences.key'))
|
|
.label(t.html('preferences.title'))
|
|
.description(t.html('preferences.description'))
|
|
.iconName('fas-user-cog')
|
|
.sections([
|
|
uiSectionPrivacy(context)
|
|
]);
|
|
|
|
return preferencesPane;
|
|
}
|