Skip to content

Commit

Permalink
Updated notification after update
Browse files Browse the repository at this point in the history
The notification which draws the attention to  the
changelog after each update of the extension is no longer displayed by default. But it can still be enabled with `"material-icon-theme.showUpdateMessage": true` in the user settings.

References #225
  • Loading branch information
PKief committed Apr 3, 2018
1 parent 5b96e34 commit e378bd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
},
"material-icon-theme.showUpdateMessage": {
"type": "boolean",
"default": true,
"default": false,
"description": "%configuration.showUpdateMessage%"
},
"material-icon-theme.activeIconPack": {
Expand Down
2 changes: 1 addition & 1 deletion src/messages/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { activateIconTheme } from '../commands/activate';
/** Show the update message if the icon theme has been updated. */
export const showUpdateMessage = () => {
// if the user does not want to see the update message
if (helpers.getThemeConfig('showUpdateMessage').globalValue === false) return;
if (helpers.getThemeConfig('showUpdateMessage').globalValue !== true) return;

const config = helpers.getConfig().inspect('workbench.iconTheme');

Expand Down

0 comments on commit e378bd7

Please sign in to comment.