Skip to content

Commit

Permalink
Merge pull request #4307 from ethereum/btnsonenter
Browse files Browse the repository at this point in the history
hide dialog before matomo
  • Loading branch information
yann300 authored Dec 6, 2023
2 parents 5bc867c + 060f9c1 commit f0c31cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/remix-ide/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class AppComponent {
'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.showEnter = this.showMatamo && !localStorage.getItem('hadUsageTypeAsked')

this.walkthroughService = new WalkthroughService(appManager, !this.showMatamo || !this.showEnter)

Expand Down

0 comments on commit f0c31cb

Please sign in to comment.