updated style for prop

pull/924/head
lianahus 4 years ago committed by Liana Husikyan
parent f242c02e4c
commit 26a11f3ac0
  1. 5
      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) this.config.set('settings/matomo-analytics', isChecked)
if (isChecked) { if (isChecked) {
this._view.useMatomoAnalytics.setAttribute('checked', '') this._view.useMatomoAnalytics.setAttribute('checked', '')
this._view.useMatomoAnalyticsLabel.classList.remove('text-secondary')
this._view.useMatomoAnalyticsLabel.classList.add('text-dark')
} else { } else {
this._view.useMatomoAnalytics.removeAttribute('checked') this._view.useMatomoAnalytics.removeAttribute('checked')
this._view.useMatomoAnalyticsLabel.classList.remove('text-dark')
this._view.useMatomoAnalyticsLabel.classList.add('text-secondary')
} }
} }
} }

Loading…
Cancel
Save