Skip to content

Commit

Permalink
FIX: Incorrect format for the tracking call. (betaflight#3890)
Browse files Browse the repository at this point in the history
  • Loading branch information
blckmn authored and chmelevskij committed Apr 27, 2024
1 parent 18ef1d7 commit cc05025
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/js/DarkTheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export function setDarkTheme(enabled) {
DarkTheme.setConfig(enabled);

checkSetupAnalytics(function (analyticsService) {
analyticsService.sendEvent(analyticsService.EVENT_CATEGORIES.APPLICATION, 'DarkTheme', enabled);
analyticsService.sendEvent(analyticsService.EVENT_CATEGORIES.APPLICATION, 'DarkTheme', { enabled: enabled });
});
}

Expand Down
2 changes: 1 addition & 1 deletion src/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function appReady() {
startProcess();

checkSetupAnalytics(function (analyticsService) {
analyticsService.sendEvent(analyticsService.EVENT_CATEGORIES.APPLICATION, 'SelectedLanguage', i18n.selectedLanguage);
analyticsService.sendEvent(analyticsService.EVENT_CATEGORIES.APPLICATION, 'SelectedLanguage', { language: i18n.selectedLanguage });
});

initializeSerialBackend();
Expand Down

0 comments on commit cc05025

Please sign in to comment.