Skip to content

Commit

Permalink
Restore config default for file icon theme
Browse files Browse the repository at this point in the history
  • Loading branch information
CareyJWilliams authored and erezmus committed Sep 12, 2023
1 parent bd3d960 commit f57e94e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/browser/core-preferences.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { createPreferenceProxy, PreferenceProxy, PreferenceService, PreferenceCo
import { SUPPORTED_ENCODINGS } from './supported-encodings';
import { isOSX } from '../common/os';
import { nls } from '../common/nls';
import { FrontendApplicationConfigProvider } from './frontend-application-config-provider';

const windowTitleDescription = [
'Controls the window title based on the active editor. Variables are substituted based on the context:',
Expand Down Expand Up @@ -191,7 +192,7 @@ export const corePreferenceSchema: PreferenceSchema = {
type: ['string'],
enum: ['none', 'theia-file-icons'],
enumItemLabels: [nls.localizeByDefault('None'), 'File Icons (Theia)'],
default: 'none',
default: FrontendApplicationConfigProvider.get().defaultIconTheme,
description: nls.localizeByDefault("Specifies the file icon theme used in the workbench or 'null' to not show any file icons.")
},
'workbench.silentNotifications': {
Expand Down

0 comments on commit f57e94e

Please sign in to comment.