From 26a11f3ac0ecbdc72ff40ad2fabf2238c5c354c0 Mon Sep 17 00:00:00 2001 From: lianahus Date: Mon, 1 Mar 2021 21:35:15 +0100 Subject: [PATCH] updated style for prop --- apps/remix-ide/src/app/tabs/settings-tab.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/remix-ide/src/app/tabs/settings-tab.js b/apps/remix-ide/src/app/tabs/settings-tab.js index 3a85d2efff..5232a0b9b7 100644 --- a/apps/remix-ide/src/app/tabs/settings-tab.js +++ b/apps/remix-ide/src/app/tabs/settings-tab.js @@ -262,8 +262,13 @@ module.exports = class SettingsTab extends ViewPlugin { this.config.set('settings/matomo-analytics', isChecked) if (isChecked) { this._view.useMatomoAnalytics.setAttribute('checked', '') + this._view.useMatomoAnalyticsLabel.classList.remove('text-secondary') + this._view.useMatomoAnalyticsLabel.classList.add('text-dark') + } else { this._view.useMatomoAnalytics.removeAttribute('checked') + this._view.useMatomoAnalyticsLabel.classList.remove('text-dark') + this._view.useMatomoAnalyticsLabel.classList.add('text-secondary') } } }