vsc-material-but-i-wont-sue.../src/helpers/messages.ts
Alessio Occhipinti 50c057184c Feat/remove icons (#310)
* feat(Icons removal): Removed all related icons commands and files

* chore: fix (remove) all gulp related imports and task for icons

* chore: removed extensions folder and switch all imports (+ small fixes)

* chore: re-added defaults.json on root

* feat(Icons removal): Added vsc-material-theme-icons dependency
2019-01-31 21:35:51 +01:00

25 lines
653 B
TypeScript

import {
window as Window
} from 'vscode';
const MESSAGES = {
CHANGELOG: {
message: 'Material Theme was updated. Check the release notes for more details.',
options: {ok: 'Show me', cancel: 'Maybe later'}
},
INSTALLATION: {
message: 'Thank you for using Material Theme!'
}
};
export const changelogMessage = async () =>
await Window.showInformationMessage(
MESSAGES.CHANGELOG.message,
MESSAGES.CHANGELOG.options.ok,
MESSAGES.CHANGELOG.options.cancel
) === MESSAGES.CHANGELOG.options.ok;
export const installationMessage = async () =>
await Window.showInformationMessage(
MESSAGES.INSTALLATION.message
);