diff --git a/extensions/helpers/handle-autoapply.ts b/extensions/helpers/handle-autoapply.ts index b2d914b..0aa0c50 100644 --- a/extensions/helpers/handle-autoapply.ts +++ b/extensions/helpers/handle-autoapply.ts @@ -1,4 +1,4 @@ -import {isAutoApplyEnable, isReloadNotificationEnable, setCustomSetting} from './settings'; +import {isAutoApplyEnable, isReloadNotificationEnable} from './settings'; import {infoMessage} from './messages'; import {fixIcons} from '../commands'; @@ -17,14 +17,6 @@ export default async (doubleCheck: boolean) => { const result = await infoMessage(); - if (result.nomore) { - return setCustomSetting('showReloadNotification', false); - } - - if (result.autoreload) { - setCustomSetting('autoApplyIcons', true); - } - if (result.reload) { return fixIcons(); } diff --git a/extensions/helpers/messages.ts b/extensions/helpers/messages.ts index 470ec59..c4371b3 100644 --- a/extensions/helpers/messages.ts +++ b/extensions/helpers/messages.ts @@ -5,7 +5,7 @@ import { const MESSAGES = { INFO: { message: 'Do you want to reload to apply Material Theme Icons to enjoy the full experience?', - options: {ok: 'Yeah, reload', autoreload: 'Yes and enable auto-reload', cancel: 'No, thank you', nomore: 'Never show again'} + options: {ok: 'Yeah, reload', cancel: 'No, thank you'} }, CHANGELOG: { message: 'Material Theme was updated. Check the release notes for more details.', @@ -21,18 +21,12 @@ export const infoMessage = async () => { const result = await Window.showInformationMessage( MESSAGES.INFO.message, MESSAGES.INFO.options.ok, - MESSAGES.INFO.options.autoreload, - MESSAGES.INFO.options.cancel, - MESSAGES.INFO.options.nomore + MESSAGES.INFO.options.cancel ); switch (result) { case MESSAGES.INFO.options.ok: return {reload: true}; - case MESSAGES.INFO.options.autoreload: - return {reload: true, autoreload: true}; - case MESSAGES.INFO.options.nomore: - return {nomore: true}; default: return {}; }