Skip to content

Commit d3693fc

Browse files
LianaHusAniket-Engg
authored andcommitted
renamed theme switch tracker
1 parent 09a9305 commit d3693fc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

apps/remix-ide/src/app/tabs/locale-module.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export class LocaleModule extends Plugin {
7777
const next = localeCode || this.active // Name
7878
if (next === this.active) return // --> exit out of this method
7979
_paq.push(['trackEvent', 'localeModule', 'switchTo', next])
80+
8081
const nextLocale = this.locales[next] // Locale
8182
if (!this.forced) this._deps.config.set('settings/locale', next)
8283

apps/remix-ide/src/app/tabs/theme-module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export class ThemeModule extends Plugin {
118118
}
119119
const next = themeName || this.active // Name
120120
if (next === this.active) return // --> exit out of this method
121-
_paq.push(['trackEvent', 'themeModule', 'switchTo', next])
121+
_paq.push(['trackEvent', 'themeModule', 'switchThemeTo', next])
122122
const nextTheme = this.themes[next] // Theme
123123
if (!this.forced) this._deps.config.set('settings/theme', next)
124124
document.getElementById('theme-link') ? document.getElementById('theme-link').remove() : null

0 commit comments

Comments
 (0)