mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 00:35:26 +03:00
FIX: Incorrect format for the tracking call. (#3890)
This commit is contained in:
parent
b7d861c814
commit
1451aebb41
2 changed files with 2 additions and 2 deletions
|
@ -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 });
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue