diff --git a/apps/remix-ide/src/app.js b/apps/remix-ide/src/app.js index 572043cd4f..3195b12bbd 100644 --- a/apps/remix-ide/src/app.js +++ b/apps/remix-ide/src/app.js @@ -131,8 +131,12 @@ class AppComponent { 'remix.ethereum.org': 23, '6fd22d6fe5549ad4c4d8fd3ca0b7816b.mod': 35 // remix desktop } - this.showMatamo = matomoDomains[window.location.hostname] && !Registry.getInstance().get('config').api.exists('settings/matomo-analytics') - this.showEnter = matomoDomains[window.location.hostname] && !localStorage.getItem('hadUsageTypeAsked') + + this.matomoConfAlreadySet = Registry.getInstance().get('config').api.exists('settings/matomo-analytics') + this.matomoCurrentSetting = Registry.getInstance().get('config').api.get('settings/matomo-analytics') + this.showMatamo = matomoDomains[window.location.hostname] && !this.matomoConfAlreadySet + + this.walkthroughService = new WalkthroughService(appManager) this.walkthroughService = new WalkthroughService(appManager, !this.showMatamo || !this.showEnter)